summaryrefslogtreecommitdiff
path: root/xkb/xkb.c
diff options
context:
space:
mode:
authorAlex Orange <crazycasta@gmail.com>2014-10-03 15:41:38 -0600
committerKeith Packard <keithp@keithp.com>2014-10-27 16:35:56 -0700
commit1b94fd77792310c80b0a2bcf4bf6d4e4c4c23bca (patch)
tree77bed6f3255fc2556b48f521643c83132b298c3b /xkb/xkb.c
parentea5b2b0a2e2143ad1414fcbdc081b5d584588346 (diff)
fb: Fix Bresenham algorithms for commonly used small segments.
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@gmail.com> Reviewed-by: Peter Harris <pharris@opentext.com> Tested-by: Peter Harris <pharris@opentext.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'xkb/xkb.c')
0 files changed, 0 insertions, 0 deletions