summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-19 17:20:35 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-15 20:05:04 +0100
commitaa3c77998404cc32233cb76e961ca27db8565459 (patch)
tree75146cced2d53e14faf572567464d25d3e784736 /libavfilter/avfilter.c
parentca6c3f2c53be70aa3c38e8f1292809db89ea1ba6 (diff)
lavf: sanity check size in av_get/append_packet().
To avoid allocating ridiculous amounts of memory for corrupted files, read the input in chunks limited to filesize or an arbitrary large amount when that is not known (chosen to be 50M).
Diffstat (limited to 'libavfilter/avfilter.c')
0 files changed, 0 insertions, 0 deletions