** Bug watch added: Sourceware.org Bugzilla #3944
http://sourceware.org/bugzilla/show_bug.cgi?id=3944
** Also affects: glibc (upstream) via
http://sourceware.org/bugzilla/show_bug.cgi?id=3944
Importance: Unknown
Status: Unknown
** Changed in: glibc (Ubuntu)
Status: Confirme
Forwarded upstream, see
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3944
--
strptime() segfaults on certain date formats
https://launchpad.net/bugs/50563
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Still an issue on Feisty. Again, the patch would be greatly appreciated.
--
strptime() segfaults on certain date formats
https://launchpad.net/bugs/50563
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Can you please attach your patch to this bug report?
--
strptime() segfaults on certain date formats
https://launchpad.net/bugs/50563
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
I can confirm this as well.
** Changed in: glibc (Ubuntu)
Importance: Untriaged => Medium
Status: Unconfirmed => Confirmed
--
strptime() segfaults on certain date formats
https://launchpad.net/bugs/50563
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.co
Sorry, I confirmed it with glibc 2.4-1ubuntu9 on current edgy.
--
strptime() segfaults on certain date formats
https://launchpad.net/bugs/50563
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
** Description changed:
This segfaults on Ubuntu Dapper:
#define _XOPEN_SOURCE
#include
int main() {
struct tm tm;
+ strptime("2004", "%Y", &tm); /* Segfault. */
+ return 0;
+ }
+
+ This does not:
+
+ #define _XOPEN_SOURCE
+ #include
+ int main() {
+ struct tm tm;
str