aboutsummaryrefslogtreecommitdiffstats
path: root/src/output_init.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-07-06 11:48:21 +0200
committerMax Kellermann <max@duempel.org>2009-07-06 11:48:21 +0200
commit17e3054399ba649b6e2c6fa8e7a946c286eafe77 (patch)
tree2d33e7e61631024cf330bf53e963d78412b3416f /src/output_init.c
parent09aadffe9bc14b42fb36342f1b133b8e15745b5c (diff)
downloadmpd-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/output_init.c')
0 files changed, 0 insertions, 0 deletions