[FFmpeg-trac] #6763(swscale:new): swscale: Out-of-bounds memory accesses

FFmpeg trac at avcodec.org
Mon Dec 16 13:31:34 EET 2024


#6763: swscale: Out-of-bounds memory accesses
------------------------------------+-----------------------------------
             Reporter:  Gramner     |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:  crash       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by Niklas Haas):

 What do we think the ideal resolution is here?

 1. Simply document this requirement.
 2. Modify all assembly routines to handle the tail separately.
 3. Always memcpy the last row before calling into asm.

 I am leaning towards 3, with an option for 1.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/6763#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list