This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/6698] New: printf segfaults on the I flag with long precision and float argument


The following program segfaults on glibc 2.7 (i686-pc-linux-gnu) and glibc 2.3.6
(x86_64-unknown-linux-gnu):

#include <stdio.h>

int
main()
{
    printf("XXX = %I.9999999f\n", 1.1);
    return 0;
}

The locale in all cases was en_US.UTF-8. Reproduced with gcc 4.1.2, 4.1.3, 4.2.4
and 4.3.1.

-- 
           Summary: printf segfaults on the I flag with long precision and
                    float argument
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: argp at cs dot tcd dot ie
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=6698

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]