aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition.h
diff options
context:
space:
mode:
authorMax Kellermann <mk@cm4all.com>2008-11-20 12:45:17 +0100
committerMax Kellermann <mk@cm4all.com>2008-11-20 12:45:17 +0100
commit1f50146e29de5628540146fbbd9421b17dc8543d (patch)
tree359042b19a3dffac1f91a080b51893a723d96e17 /src/condition.h
parenta8f69429b0a6492bdcb8b4d59a28c8ba90b45aed (diff)
downloadmpd-1f50146e29de5628540146fbbd9421b17dc8543d.tar.gz
mpd-1f50146e29de5628540146fbbd9421b17dc8543d.tar.xz
mpd-1f50146e29de5628540146fbbd9421b17dc8543d.zip
ogg: check the ov_read() return value before the vorbis_info evaluation
The ov_info() return value may be corrupt when ov_read() did not return a positive value. First check for success, then check ov_info().
Diffstat (limited to 'src/condition.h')
0 files changed, 0 insertions, 0 deletions