aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-23 09:54:10 +0200
committerMax Kellermann <max@duempel.org>2008-10-23 09:54:10 +0200
commite172874cc65f39e79ae895d35382d2fa3061d3dd (patch)
treef423adfba4b6060a3a4bc4828727c0266543bf82 /src/directory.c
parent95ae1d9e9ef259ea8edd3887b9531fb39e1f633e (diff)
downloadmpd-e172874cc65f39e79ae895d35382d2fa3061d3dd.tar.gz
mpd-e172874cc65f39e79ae895d35382d2fa3061d3dd.tar.xz
mpd-e172874cc65f39e79ae895d35382d2fa3061d3dd.zip
command: check over/underflows in check_int()
The "long" result of strtol() was implicitly casted down to a 32 bit integer. Add some range checking instead.
Diffstat (limited to 'src/directory.c')
0 files changed, 0 insertions, 0 deletions