diff options
author | Max Kellermann <max@duempel.org> | 2008-10-23 09:54:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-23 09:54:10 +0200 |
commit | e172874cc65f39e79ae895d35382d2fa3061d3dd (patch) | |
tree | f423adfba4b6060a3a4bc4828727c0266543bf82 /src/audio_format.h | |
parent | 95ae1d9e9ef259ea8edd3887b9531fb39e1f633e (diff) | |
download | mpd-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/audio_format.h')
0 files changed, 0 insertions, 0 deletions