[PATCH] fb: Fix Bresenham algorithms for commonly used small segments.

Peter Harris pharris at opentext.com
Mon Oct 6 07:37:03 PDT 2014


On 2014-10-03 17:41, Alex Orange wrote:
> Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=54168
> 
> Fix errors introducted in 863d528a9f76d0e8f122aebf19f8564a4c67a938. 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 at gmail.com>

Reviewed-by: Peter Harris <pharris at opentext.com>
Tested-by: Peter Harris <pharris at opentext.com>

Peter Harris
-- 
               Open Text Connectivity Solutions Group
Peter Harris                    http://connectivity.opentext.com/
Research and Development        Phone: +1 905 762 6001
pharris at opentext.com            Toll Free: 1 877 359 4866


More information about the xorg-devel mailing list