On Tue, Nov 15, 2022 at 11:16:57PM +0100, Michael Niedermayer wrote: > Same principle as previous commit, with sufficiently huge rgb2yuv table > values this produces wrong results and undefined behavior. > The unsigned produces the same incorrect results. That is probably > ok as these cases with huge values seem not to occur in any real > use case. > > There are more cases but someone is refactoring them, so i didnt yet change > them. > > Fixes: signed integer overflow > Signed-off-by: Michael Niedermayer <[email protected]> > --- > libswscale/input.c | 24 ++++++++++++------------ > 1 file changed, 12 insertions(+), 12 deletions(-)
will apply patch set [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
