diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 11:48:21 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 11:48:21 +0200 |
commit | 17e3054399ba649b6e2c6fa8e7a946c286eafe77 (patch) | |
tree | 2d33e7e61631024cf330bf53e963d78412b3416f /src/song.h | |
parent | 09aadffe9bc14b42fb36342f1b133b8e15745b5c (diff) | |
download | mpd-17e3054399ba649b6e2c6fa8e7a946c286eafe77.tar.gz mpd-17e3054399ba649b6e2c6fa8e7a946c286eafe77.tar.xz mpd-17e3054399ba649b6e2c6fa8e7a946c286eafe77.zip |
song_print: check gmtime_r()'s return value
When song->mtime was not initialized properly, it was revealed that
strftime() might crash when gmtime_r() returns NULL due to an invalid
time_t input value.
Diffstat (limited to 'src/song.h')
0 files changed, 0 insertions, 0 deletions