summaryrefslogtreecommitdiff
path: root/libavformat/img2.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-02-22 11:33:24 -0800
committerRonald S. Bultje <rsbultje@gmail.com>2012-02-22 12:00:23 -0800
commitaac07a7a4c2c7a4a29cf6dbc88c1b9fdd191b99d (patch)
treee3adffb893f208b380c9225a1bda0dccf0abf022 /libavformat/img2.c
parent1cd9a6154bc1ac1193c703cea980ed21c3e53792 (diff)
rm: prevent infinite loops for index parsing.
Specifically, prevent jumping back in the file for the next index, since this can lead to infinite loops where we jump between indexes referring to each other, and don't read indexes that don't fit in the file. Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: libav-stable@libav.org
Diffstat (limited to 'libavformat/img2.c')
0 files changed, 0 insertions, 0 deletions