Added a test/clamp in the scale_internal_*() functions to prevent reading
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Feb 2005 16:18:39 +0000 (16:18 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Feb 2005 16:18:39 +0000 (16:18 +0000)
commita8d5b176b5208de61667ce0d901d69485eea1957
tree1f5e3664c105721c2f48bab15509171672d94ae7
parentfe7aa08ad982ebca9d867905eccb5315fa4ed23a
Added a test/clamp in the scale_internal_*() functions to prevent reading
a row of pixels beyond the input buffer's bounds.
FDO/Mesa bug #2510.
src/glu/sgi/libutil/mipmap.c