[Pixman] Crash during stress-test

Emil Velikov emil.l.velikov at gmail.com
Fri Nov 17 11:31:10 UTC 2017

Hi Vincent,

On 15 November 2017 at 21:37, LE GARREC Vincent
<legarrec.vincent at gmail.com> wrote:
> Dear,
> I ran stress-test under fuzzing and I found a crash.
> I'm not really comfortable with pixman so I don't really know how to report
> you the problem.
> Please find enclosed modifications I needed to apply to allow fuzzing with
> afl.
> I disabled HAVE_GCC_VECTOR_EXTENSIONS and adapt smallprng_rand_r to read
> from buffer instead of random data based on seed.
> To make the stress-test crashes, run ./stress-test rasterize_edges_8.crash
> I hope it's not my patch that make pixman crashes.
> Please, tell me if you need further information or if I did something wrong.
I'm not that muhc of a pixman to provide you with feedback on the exact issue.

Small question though:
Have you considered adding a argument to the program which changes
rand -> input file method?

It will allow you to drop the HAVE_GCC_VECTOR_EXTENSIONS workarounds
and upstream the changes.
This way one will be able to do some extensive testing prior to
rolling a potentially vulnerable pixman release to the masses.


More information about the Pixman mailing list