avformat: Add and use ff_copy_whitelists()
Fixes potential security issue in case of running out of memory
Found-by: ubitux
Signed-off-by:
Michael Niedermayer <michaelni@gmx.at>
Showing
- libavformat/avidec.c 3 additions, 3 deletionslibavformat/avidec.c
- libavformat/concatdec.c 2 additions, 3 deletionslibavformat/concatdec.c
- libavformat/hls.c 2 additions, 3 deletionslibavformat/hls.c
- libavformat/internal.h 4 additions, 0 deletionslibavformat/internal.h
- libavformat/libquvi.c 2 additions, 3 deletionslibavformat/libquvi.c
- libavformat/mpeg.c 2 additions, 2 deletionslibavformat/mpeg.c
- libavformat/rtpdec_asf.c 4 additions, 3 deletionslibavformat/rtpdec_asf.c
- libavformat/sapdec.c 2 additions, 3 deletionslibavformat/sapdec.c
- libavformat/utils.c 13 additions, 0 deletionslibavformat/utils.c
Loading
Please register or sign in to comment