[FFmpeg-trac] #10852(swscale:new): sws_scale overflows buffer for some resolutions using ssse3 instructions

FFmpeg trac at avcodec.org
Mon Feb 12 18:09:49 EET 2024


#10852: sws_scale overflows buffer for some resolutions using ssse3 instructions
------------------------------------+-----------------------------------
             Reporter:  Jerome      |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  important   |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:  memory      |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by Jerome):

 Replying to [comment:1 Balling]:
 > See bug #979, you need to test with -vf scale=flags=accurate_rnd

 Thank you for the comment. I don't believe this is related, though. In my
 case, I don't use the `ffmpeg` binary, but instead the `libswscale` shared
 library. And the issue is not about the precision of the color conversion,
 but the fact that it runs over the output buffer by 8 bytes for some
 resolutions.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10852#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list