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

FFmpeg trac at avcodec.org
Thu Feb 8 10:44:19 EET 2018


#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 heleppkes):

 Your proper fix should be calling av_vdpau_bind_context, as mentioned
 earliner in this ticket. Basically, anyone that uses the old VDPAU API is
 using it wrong if you're not calling that function.

 An even better fix would be to switch to the new API - or even switch to
 NVDEC, since VDPAU is basically dead.

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


More information about the FFmpeg-trac mailing list