https://github.com/libav/libav
Revision 25b7f98bd058034733e35bb6318db7a4611e1431 authored by Anton Khirnov on 28 December 2016, 10:27:56 UTC, committed by Sean McGovern on 19 March 2017, 20:08:03 UTC
The code does some nontrivial jumping around in the buffer, so it is
safer to use a checked API rather than do everything manually.

Fixes a bug in nalff parsing, where the length field is currently not
counted in the buffer size check, resulting in possible overreads with
invalid files.

CC: libav-stable@libav.org
Bug-Id: 1002
Found-By: Kamil Frankowicz
(cherry picked from commit 83b2b34d06e74cc8775ba3d833f9782505e17539)
Signed-off-by: Sean McGovern <gseanmcg@gmail.com>
1 parent ddfec6f
History
Tip revision: 25b7f98bd058034733e35bb6318db7a4611e1431 authored by Anton Khirnov on 28 December 2016, 10:27:56 UTC
h2645_parse: use the bytestream2 API for packet splitting
Tip revision: 25b7f98
File Mode Size
compat
doc
libavcodec
libavdevice
libavfilter
libavformat
libavresample
libavutil
libswscale
presets
tests
tools
.gitattributes -rw-r--r-- 18 bytes
.gitignore -rw-r--r-- 209 bytes
.travis.yml -rw-r--r-- 471 bytes
COPYING.GPLv2 -rw-r--r-- 17.7 KB
COPYING.GPLv3 -rw-r--r-- 34.3 KB
COPYING.LGPLv2.1 -rw-r--r-- 25.9 KB
COPYING.LGPLv3 -rw-r--r-- 7.5 KB
CREDITS -rw-r--r-- 1.0 KB
Changelog -rw-r--r-- 37.2 KB
INSTALL -rw-r--r-- 705 bytes
LICENSE -rw-r--r-- 2.7 KB
Makefile -rw-r--r-- 6.1 KB
README l--------- 9 bytes
README.md -rw-r--r-- 1.6 KB
RELEASE -rw-r--r-- 3 bytes
arch.mak -rw-r--r-- 516 bytes
avconv.c -rw-r--r-- 88.5 KB
avconv.h -rw-r--r-- 15.0 KB
avconv_dxva2.c -rw-r--r-- 14.5 KB
avconv_filter.c -rw-r--r-- 28.3 KB
avconv_opt.c -rw-r--r-- 102.0 KB
avconv_qsv.c -rw-r--r-- 2.7 KB
avconv_vaapi.c -rw-r--r-- 17.6 KB
avconv_vda.c -rw-r--r-- 3.9 KB
avconv_vdpau.c -rw-r--r-- 4.4 KB
avplay.c -rw-r--r-- 98.8 KB
avprobe.c -rw-r--r-- 32.0 KB
cmdutils.c -rw-r--r-- 54.7 KB
cmdutils.h -rw-r--r-- 17.0 KB
cmdutils_common_opts.h -rw-r--r-- 1.7 KB
common.mak -rw-r--r-- 2.0 KB
configure -rwxr-xr-x 161.9 KB
library.mak -rw-r--r-- 3.4 KB
version.sh -rwxr-xr-x 678 bytes

README.md

back to top