xserver-multidpi/fb
Alex Orange a471a15c77 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>
(cherry picked from commit 1b94fd7779)
2014-11-23 17:04:37 +01:00
..
fb.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08: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 Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbbits.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbblt.c fb: fix fast-path blt detection 2014-03-27 22:59:38 -07:00
fbbltone.c fb: fix shadow warnings 2012-11-05 13:25:01 -06:00
fbcmap_mi.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbcopy.c fb: Remove unused compatibility wrappers 2013-09-10 13:29:21 -04:00
fbfill.c Introduce a consistent coding style 2012-03-21 13:54:42 -07: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 Fix formatting of address operators 2012-12-05 18:09:48 -06:00
fbgetsp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbglyph.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fbimage.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbline.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fboverlay.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fboverlay.h Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fbpict.c fb: Fix origin of source picture in fbGlyphs 2014-04-21 20:48:34 -07:00
fbpict.h fb: Publish fbGlyphs and fbUnrealizeGlyph 2014-04-03 13:07:51 -07:00
fbpixmap.c Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
fbpoint.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbpush.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbrop.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbscreen.c fb: Don't free NULL pixmap in fbCloseScreen. Bug #80313 2014-07-03 12:57:19 -07:00
fbseg.c fb: Fix Bresenham algorithms for commonly used small segments. 2014-11-23 17:04:37 +01: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
fbstipple.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbtile.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 Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
fbwindow.c fb: Fix invalid bpp for 24bit depth window 2014-10-10 18:08:32 +02:00
Makefile.am Build fbcmap_mi.c once, rather than once for each DDX 2014-03-27 14:34:06 +00:00
wfbrename.h fb: Rename wfbDestroyGlyphCache 2013-03-07 18:20:18 -08:00