[FFmpeg-trac] #6626(undetermined:new): ff_vdpau_common_init writes past the end of av_alloc_vdpaucontext memory

FFmpeg trac at avcodec.org
Wed Aug 30 10:29:12 EEST 2017


#6626: ff_vdpau_common_init writes past the end of av_alloc_vdpaucontext memory
-------------------------------------+-------------------------------------
             Reporter:  aaronp24     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by jkqxz):

 The change you point at removed the use of the old API from the ffmpeg
 utility, and did not affect libavcodec at all.

 In the old API, I think av_vdpau_bind_context() must be called to give the
 VDPAU device to libavcodec before returning AV_PIX_FMT_VDPAU from
 get_format().

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


More information about the FFmpeg-trac mailing list