mirror of https://git.ffmpeg.org/ffmpeg.git
a4fec9a7ea
When receiving fragmented packets, the first packet declares the size, and the later ones normally are small follow-on packets that don't repeat the size and the other header fields. But technically, the later fragments also can have a full header, declaring a different size than the previous packet. If the follow-on packet declares a larger size than the initial one, we could end up writing outside of the allocation. This fixes out of bounds writes. Found-by: Paul Cher <paulcher@icloud.com> Reviewed-by: Paul Cher <paulcher@icloud.com> CC: libav-stable@libav.org Signed-off-by: Martin Storsjö <martin@martin.st> |
||
---|---|---|
compat | ||
doc | ||
libavcodec | ||
libavdevice | ||
libavfilter | ||
libavformat | ||
libavresample | ||
libavutil | ||
libswscale | ||
presets | ||
tests | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
COPYING.GPLv2 | ||
COPYING.GPLv3 | ||
COPYING.LGPLv2.1 | ||
COPYING.LGPLv3 | ||
CREDITS | ||
Changelog | ||
INSTALL | ||
LICENSE | ||
Makefile | ||
README | ||
README.md | ||
RELEASE | ||
arch.mak | ||
avconv.c | ||
avconv.h | ||
avconv_dxva2.c | ||
avconv_filter.c | ||
avconv_opt.c | ||
avconv_qsv.c | ||
avconv_vaapi.c | ||
avconv_vda.c | ||
avconv_vdpau.c | ||
avplay.c | ||
avprobe.c | ||
cmdutils.c | ||
cmdutils.h | ||
cmdutils_common_opts.h | ||
common.mak | ||
configure | ||
library.mak | ||
version.sh |
README.md
Libav
Libav is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.
Libraries
libavcodec
provides implementation of a wider range of codecs.libavformat
implements streaming protocols, container formats and basic I/O access.libavutil
includes hashers, decompressors and miscellaneous utility functions.libavfilter
provides a mean to alter decoded Audio and Video through chain of filters.libavdevice
provides an abstraction to access capture and playback devices.libavresample
implements audio mixing and resampling routines.libswscale
implements color conversion and scaling routines.
Tools
- avconv is a command line toolbox to manipulate, convert and stream multimedia content.
- avplay is a minimalistic multimedia player.
- avprobe is a simple analisys tool to inspect multimedia content.
- Additional small tools such as
aviocat
,ismindex
andqt-faststart
.
Documentation
The offline documentation is available in the doc/ directory.
The online documentation is available in the main website and in the wiki.
Examples
Conding examples are available in the doc/example directory.
License
Libav codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.