]> Dogcows Code - chaz/openbox/commit
Fix a write out of bounds in splitvertical gradients (Bug 3612)
authorDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 20:04:50 +0000 (16:04 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 11 Aug 2013 20:15:12 +0000 (16:15 -0400)
commitf3873cac4add6865cff6ca01abd65a31dc1b33ad
tree1815413b9d8e401ecf45718d956fc9ce7cad48ec
parentcddd736de5933c909616f395cd774dac110ee9ae
Fix a write out of bounds in splitvertical gradients (Bug 3612)

If the gradient has height 1, then y1sz is 0. We don't want to use the
first color and move the data pointer, since this will move it past the
end of the array.
obrender/gradient.c
This page took 0.022194 seconds and 4 git commands to generate.