Change #252880
| Category | ffmpeg |
| Changed by | Leo Izen <leo.izen@gmail.com> |
| Changed at | Sat 20 Dec 2025 17:53:21 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | 105b6fcd9c5940a3fda1eddfef146055e0e24a3d |
Comments
avcodec/exif: avoid leaking EXIF metadata upon parse failure Before this commit, exif_parse_ifd_list didn't free *ifd upon failure, relying on the caller to do so instead. We only guarded some of the calls against this function, not all of them, so sometimes it leaked. This commit fixes this, so exif_parse_ifd_list freeds *ifd upon failure so callers do not have to guard its invocation with a free wrapper. Fixes: ossfuzz 440747118: Integer-overflow in av_strerror Signed-off-by: Leo Izen <leo.izen@gmail.com>
Changed files
- libavcodec/exif.c