diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-19 02:03:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-11-23 22:44:09 +0100 |
commit | 715bf3509a96ee679449c0ba479b500fa646c217 (patch) | |
tree | f5e2c606a4d081dd65f524ff876b22b676bb07ef /libavcodec/h264_mp4toannexb_bsf.c | |
parent | 14c60935280d81d333ba9e19f0ebd39f16d8c778 (diff) | |
download | ffmpeg-715bf3509a96ee679449c0ba479b500fa646c217.tar.gz |
avcodec/pnmenc: Check av_image_get_buffer_size()
Fixes the crash in ticket #10050.
Also ensure that we don't overflow before ff_get_encode_buffer().
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/h264_mp4toannexb_bsf.c')
0 files changed, 0 insertions, 0 deletions