diff options
author | Rich Felker <dalias@aerifal.cx> | 2017-06-15 12:58:08 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2017-06-15 12:58:08 -0400 |
commit | 5c10c33d2a35204ee76931625a007fcc8cca3228 (patch) | |
tree | 8847a78536f72c9c062ad5cd2bedc6fd4ae79ee4 /src/math/nearbyintf.c | |
parent | 1c86c7f5c26dd0569df7afc23ee9866fb3f645dc (diff) | |
download | musl-5c10c33d2a35204ee76931625a007fcc8cca3228.tar.gz |
handle localtime errors in ctime
ctime passes the result from localtime directly to asctime. But in case
of error, localtime returns 0. This causes an error (NULL pointer
dereference) in asctime.
based on patch by Omer Anson.
Diffstat (limited to 'src/math/nearbyintf.c')
0 files changed, 0 insertions, 0 deletions