diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2012-02-15 20:35:06 +0100 |
---|---|---|
committer | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2012-02-15 20:35:06 +0100 |
commit | d22df2915ce5005e6789f0cd4d188e56432264a7 (patch) | |
tree | ec48fd98305583666b7abb16359061590554f925 /src/archive/bz2_archive_plugin.c | |
parent | e77d96cf892592f299d6b09955db1b852b2234b3 (diff) | |
download | mpd-d22df2915ce5005e6789f0cd4d188e56432264a7.tar.gz mpd-d22df2915ce5005e6789f0cd4d188e56432264a7.tar.xz mpd-d22df2915ce5005e6789f0cd4d188e56432264a7.zip |
main: handle negative strtol return value
size_t is unsigned most of the time, so we can't really use it to
check for negative values. Also handle strtol overflow.
Diffstat (limited to 'src/archive/bz2_archive_plugin.c')
0 files changed, 0 insertions, 0 deletions