[FFmpeg-devel] [PATCH 0/4] Some unchecked allocation fixes

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Oct 22 22:33:55 CEST 2013


There's one I can't quite track down. It's reproducible using
posixmemalign.so[1], via:

MALLOC_SEED=1382469063 LD_PRELOAD=/path/to/posixmemalign.so ffmpeg_g -nostats -cpuflags all -vsync drop -threads 1 -thread_type frame+slice -i /path/to/fate/h264-conformance/src19td.IBP.264 -f framecrc -

Help welcome.

[1] https://gist.github.com/dwbuiten/7101755

Derek Buitenhuis (4):
  timefilter: Handle memory allocation failure
  avfiltergraph: Properly handle memory allocation failure
  avio: Check for memory allocation failure of private data
  h264: Check all allocations

 libavcodec/h264.c           | 37 ++++++++++++++++++++++++++-----------
 libavdevice/jack_audio.c    |  2 ++
 libavdevice/timefilter.c    |  8 ++++++++
 libavdevice/timefilter.h    |  2 ++
 libavdevice/v4l2.c          |  2 ++
 libavfilter/avfiltergraph.c | 41 ++++++++++++++++++++++++++++++++---------
 libavformat/avio.c          |  4 ++++
 7 files changed, 76 insertions(+), 20 deletions(-)

-- 
1.8.4.rc3



More information about the ffmpeg-devel mailing list