This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18333] FAIL: timezone/tst-tzset (segmentation fault)
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 27 Apr 2015 16:24:09 +0000
- Subject: [Bug libc/18333] FAIL: timezone/tst-tzset (segmentation fault)
- Auto-submitted: auto-generated
- References: <bug-18333-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18333
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(gdb) bt
#0 __GI__IO_file_xsgetn (fp=<optimized out>, data=<optimized out>,
n=4294967295) at fileops.c:1434
#1 0xf7a95cdd in __GI___fread_unlocked (buf=<optimized out>,
size=size@entry=1, count=count@entry=4294967295, fp=fp@entry=0x604340)
at iofread_u.c:44
#2 0xf7ad5a22 in __tzfile_read (file=<optimized out>,
file@entry=0x604303 "/tmp/tst-tzset-5VrVdp", extra=extra@entry=0,
extrap=extrap@entry=0x0) at tzfile.c:404
#3 0xf7ad48ea in tzset_internal (explicit=1, always=1) at tzset.c:443
#4 __tzset () at tzset.c:596
#5 0x00401eda in test_tz_file (size=4294967290) at tst-tzset.c:108
#6 0x0040205d in do_test () at tst-tzset.c:164
#7 0x00401a8e in main (argc=1, argv=0xffffcf18) at ../test-skeleton.c:369
(gdb) p count
$11 = -135168
(gdb) p (unsigned int) count
$12 = 4294832128
(gdb)
If count is greater than SSIZE_MAX, the result is unspecified.
--
You are receiving this mail because:
You are on the CC list for the bug.