[FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix out of bounds accesses

Michael Niedermayer michaelni at gmx.at
Mon Jan 5 05:11:30 CET 2015

On Mon, Jan 05, 2015 at 04:45:26AM +0100, wm4 wrote:
> The code blindly trusted buffer offsets read from the file in the RLE
> decoder. Explicitly check the offset. Also error out on other RLE
> decoding errors.
> ---
>  libavcodec/dvdsubdec.c | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150105/e39ac888/attachment.asc>

More information about the ffmpeg-devel mailing list