[x264-devel] AddressSanitizer: Invalid Read at common/x86/mc-c.c:772

Henrik Gramner henrik at gramner.com
Thu Apr 4 16:34:10 CEST 2019


On Thu, Apr 4, 2019 at 11:28 AM Hongxu Chen <leftcopy.chx at gmail.com> wrote:
> lavf [info]: 667696x16p 0:1 @ 1/1 fps (vfr)

A width of 668k pixels unsurprisingly causes problems.

I guess we could add some kind of sanity check to enforce an upper
boundary on frame sizes to avoid integer overflows in various
calculations (because I'm guessing that's what's happening here).


More information about the x264-devel mailing list