[FFmpeg-trac] #5487(avcodec:open): mjpeg2jpeg bitstream filter causes segmentation fault with header-less mjpeg

FFmpeg trac at avcodec.org
Mon May 2 01:25:14 CEST 2016


#5487: mjpeg2jpeg bitstream filter causes segmentation fault with header-less
mjpeg
-------------------------------------+-------------------------------------
             Reporter:  thebombzen   |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  mjpeg2jpeg   |               Blocked By:
  crash regression                   |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by jsebechlebsky):

 This seems to be caused by missing check for ff_bsf_get_packet success in
 mjpeg2jpeg_filter function - execution continues even if AVPacket *in
 pointer was not initialized.

 I've already submitted the patch to mailing list.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5487#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list