mirror of
https://github.com/opnsense/src.git
synced 2026-05-25 02:35:01 -04:00
The localtime(3) function returns a NULL pointer, if the passed in-time
translates to a year that will not fit in an integer type. It is stricly
recommended to check the return value to avoid garage output.
Reported by: mckusick
Reviewed by: mckusick, imp, rpokala
Differential Revision: https://reviews.freebsd.org/D36515
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| asctime.c | ||
| ctime.3 | ||
| difftime.c | ||
| localtime.c | ||
| private.h | ||
| time2posix.3 | ||
| tzfile.5 | ||
| tzfile.h | ||