Bug#838650: pixman: rowstride integer overflow

2016-09-23 Thread Julien Cristau
On Fri, Sep 23, 2016 at 12:00:54 +0200, Alessandro Vesely wrote: > Source: pixman > Version: pixman-0.32.6 > Severity: normal > Tags: upstream patch > > Dear Maintainer, > > it is wrong to compute offsets like so: > >int rowstride = something; >char *buffer = base_ptr + y*rowstride +

Bug#838650: pixman: rowstride integer overflow

2016-09-23 Thread Alessandro Vesely
Source: pixman Version: pixman-0.32.6 Severity: normal Tags: upstream patch Dear Maintainer, it is wrong to compute offsets like so: int rowstride = something; char *buffer = base_ptr + y*rowstride + x*4; That idiom fails in 64bit architecture where integers are 32 bit. Consider a