Matt Turner <[email protected]> writes: > From: Simon Schubert <[email protected]> > > When fbBresSolid draws a line, it can happen that after the last > pixel, the Bresenham error term overflows, and fbBresSolid paints > another pixel before adjusting the error term. > > However, if this happens on the last pixel (len=0), this extra pixel > might overshoot the boundary, and, in rare cases, lead to a segfault. > > Fix this issue by adjusting for the Bresenham error term before > drawing the main pixel, not after.
Merged. c22c936..863d528 master -> master -- [email protected]
pgpnf1FGyKqJu.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
