[Bug 2209] ctime(*t) can return garbage with large t

bugzilla at busybox.net bugzilla at busybox.net
Wed Jul 14 20:20:12 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=2209

--- Comment #1 from Bernhard Reutner-Fischer <aldot at uclibc.org>  ---
(In reply to comment #0)

> The recommended fix is to zero-out the 'tm' struct using memset() before
> calling localtime_r.

yes. Perhaps you could provide a testsuite entry for this one
(test/time/tst-futimens1.c is a good example for a test)? That'd be awesome..

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the uClibc-cvs mailing list