Looks like if you can turn off -fsanitize=shift (not clear how you do this) it would fix it.
It seems like using unsigned rather than int could fix a lot of this, but it complains about left-shifts of negative numbers (such as (-2)<<n which is useful to get n 0 bits at the bottom). If this cannot be fixed by writing unsigned(-2)<<n then it seems doubtful Pixman or Cairo could ever pass these tests. On Sat, Nov 17, 2018 at 11:09 PM LE GARREC Vincent < legarrec.vinc...@gmail.com> wrote: > Hi, > > I just run the stress-test with CFLAGS="-fsanitize=undefined" > > I have lots of > "runtime error: signed integer overflow: 2147254245 + 589815 cannot be > represented in type 'int'" > runtime error: left shift of 1 by 31 places cannot be represented in type > 'int' > runtime error: left shift of negative value -26 > > Do you think these errors should be solved ? > > You can find enclosed the report, > _______________________________________________ > Pixman mailing list > Pixman@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/pixman >
_______________________________________________ Pixman mailing list Pixman@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/pixman