public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/4991] New: strftime crash on amd64
@ 2007-09-05 8:48 pekka dot lampila at iki dot fi
2007-09-05 8:51 ` [Bug libc/4991] " pekka dot lampila at iki dot fi
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: pekka dot lampila at iki dot fi @ 2007-09-05 8:48 UTC (permalink / raw)
To: glibc-bugs
When using gmtime_r with huge value on amd64 it creates a brokentime with big
tm_mon value. If you then call strftime and use %b the program will crash.
I will attach an example.
--
Summary: strftime crash on amd64
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: pekka dot lampila at iki dot fi
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=4991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4991] strftime crash on amd64
2007-09-05 8:48 [Bug libc/4991] New: strftime crash on amd64 pekka dot lampila at iki dot fi
@ 2007-09-05 8:51 ` pekka dot lampila at iki dot fi
2007-09-05 8:55 ` pekka dot lampila at iki dot fi
2007-09-05 8:57 ` pekka dot lampila at iki dot fi
2 siblings, 0 replies; 5+ messages in thread
From: pekka dot lampila at iki dot fi @ 2007-09-05 8:51 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pekka dot lampila at iki dot fi 2007-09-05 08:50 -------
Created an attachment (id=1983)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1983&action=view)
An example that crashes on amd64
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4991] strftime crash on amd64
2007-09-05 8:48 [Bug libc/4991] New: strftime crash on amd64 pekka dot lampila at iki dot fi
2007-09-05 8:51 ` [Bug libc/4991] " pekka dot lampila at iki dot fi
@ 2007-09-05 8:55 ` pekka dot lampila at iki dot fi
2007-09-05 8:57 ` pekka dot lampila at iki dot fi
2 siblings, 0 replies; 5+ messages in thread
From: pekka dot lampila at iki dot fi @ 2007-09-05 8:55 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pekka dot lampila at iki dot fi 2007-09-05 08:54 -------
Oh, damn it, I should have checked the return value of gmtime_r
Still, is strftime supposed to crash with big tm_mon value?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4991] strftime crash on amd64
2007-09-05 8:48 [Bug libc/4991] New: strftime crash on amd64 pekka dot lampila at iki dot fi
2007-09-05 8:51 ` [Bug libc/4991] " pekka dot lampila at iki dot fi
2007-09-05 8:55 ` pekka dot lampila at iki dot fi
@ 2007-09-05 8:57 ` pekka dot lampila at iki dot fi
2 siblings, 0 replies; 5+ messages in thread
From: pekka dot lampila at iki dot fi @ 2007-09-05 8:57 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From pekka dot lampila at iki dot fi 2007-09-05 08:56 -------
Nothing to see here, move along
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=4991
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/4991] strftime crash on amd64
[not found] <bug-4991-131@http.sourceware.org/bugzilla/>
@ 2014-07-04 15:48 ` fweimer at redhat dot com
0 siblings, 0 replies; 5+ messages in thread
From: fweimer at redhat dot com @ 2014-07-04 15:48 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=4991
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-07-04 15:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-05 8:48 [Bug libc/4991] New: strftime crash on amd64 pekka dot lampila at iki dot fi
2007-09-05 8:51 ` [Bug libc/4991] " pekka dot lampila at iki dot fi
2007-09-05 8:55 ` pekka dot lampila at iki dot fi
2007-09-05 8:57 ` pekka dot lampila at iki dot fi
[not found] <bug-4991-131@http.sourceware.org/bugzilla/>
2014-07-04 15:48 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).