summaryrefslogtreecommitdiffstats
path: root/libavcodec/pthread.c
diff options
context:
space:
mode:
authorwm4 <[email protected]>2015-02-03 19:04:12 +0100
committerMichael Niedermayer <[email protected]>2015-02-17 19:43:18 +0100
commit3d8c51d699165b63f54af309686e27d311a16a59 (patch)
tree59af5ed30ba9ee4a997f93dff844802bb8473594 /libavcodec/pthread.c
parentc7dc73a6c3339c525d62498964a707936ff838fc (diff)
avformat/mpc8: fix hang with fuzzed file
This can lead to an endless loop by seeking back a few bytes after each attempted chunk read. Assuming negative sizes are always invalid, this is easy to fix. Other code in this demuxer treats negative sizes as invalid as well. Fixes ticket #4262. Signed-off-by: Michael Niedermayer <[email protected]> (cherry picked from commit 56cc024220886927350cfc26ee695062ca7ecaf4) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/pthread.c')
0 files changed, 0 insertions, 0 deletions