xserver-multidpi/fb
Alex Orange 1b94fd7779 fb: Fix Bresenham algorithms for commonly used small segments.
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=54168

Fix errors introducted in 863d528a9f. Said
patch does indeed remove the problematic writes to bad memory, however
it also introduces errors in the algoritm. This patch has the effect of
reverting said patch and adding an if in the proper location to catch
the out of bounds memory write without causing problems to the overall
algorithm.

Signed-off-by: Alex Orange <crazycasta@gmail.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Tested-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2014-10-27 16:35:56 -07:00
..
fb.h fb: Hide fbPush{Pattern,Fill} 2014-10-27 15:45:57 -04:00
fb24_32.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fb24_32.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fballpriv.c Use new screen-specific privates for fb window and gc privates 2012-07-05 13:40:18 -07:00
fbarc.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbbits.c fb: FB_SHIFT is 5 (and FB_UNIT is 32) 2014-10-27 15:45:37 -04:00
fbbits.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbblt.c fb: FB_SHIFT is 5 (and FB_UNIT is 32) 2014-10-27 15:45:37 -04:00
fbbltone.c fb: Move fbStipple*Bits near their only consumer 2014-10-27 15:45:41 -04:00
fbcmap_mi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbcopy.c mi: Drop plane argument from miHandleExposures 2014-10-09 11:14:53 +02:00
fbfill.c fb: Remove even/odd tile slow-pathing 2014-10-27 15:45:46 -04:00
fbfillrect.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbfillsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbgc.c fb: Remove even/odd stipple slow-pathing 2014-10-27 15:45:38 -04:00
fbgetsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbglyph.c fb: Hide glyph implementation details 2014-10-27 15:45:48 -04:00
fbimage.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbline.c fb: Hide some zero-width line details 2014-10-27 15:45:52 -04:00
fboverlay.c dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
fboverlay.h dix: Drop the third argument from WindowExposuresProcPtr 2014-10-09 11:14:44 +02:00
fbpict.c fb: Hide glyph implementation details 2014-10-27 15:45:48 -04:00
fbpict.h fb: Hide glyph implementation details 2014-10-27 15:45:48 -04:00
fbpixmap.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fbpoint.c fb: Hide fbDots 2014-10-27 15:45:55 -04:00
fbpush.c fb: Hide fbPush{Pattern,Fill} 2014-10-27 15:45:57 -04:00
fbrop.h fb: Move fbStipple*Bits near their only consumer 2014-10-27 15:45:41 -04:00
fbscreen.c fb: fb{Map,Unmap}Window -> fb{Realize,Unrealize}Window 2014-10-09 11:14:53 +02:00
fbseg.c fb: Fix Bresenham algorithms for commonly used small segments. 2014-10-27 16:35:56 -07:00
fbsetsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbsolid.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbtrap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbutil.c fb: Remove unused fbReduceRasterOp 2014-10-27 15:45:44 -04:00
fbwindow.c fb: fb{Map,Unmap}Window -> fb{Realize,Unrealize}Window 2014-10-09 11:14:53 +02:00
Makefile.am fb: Remove even/odd tile slow-pathing 2014-10-27 15:45:46 -04:00
wfbrename.h fb: Hide some zero-width line details 2014-10-27 15:45:52 -04:00