Fix potential segfault when trying to read pixels outside renderbuffer bounds.
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 21:15:27 +0000 (21:15 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 21:15:27 +0000 (21:15 +0000)
commit67074332728acba86da7630353673b458713bb8a
treeee17b8b91b16ef04df684157d2b25983373268e7
parent82e314252f0b706c3ae1c748e9d64d8fa58812db
Fix potential segfault when trying to read pixels outside renderbuffer bounds.
Use _swrast_get_values() which does clipping.
src/mesa/swrast/s_blend.c
src/mesa/swrast/s_depth.c
src/mesa/swrast/s_depth.h
src/mesa/swrast/s_logic.c
src/mesa/swrast/s_masking.c
src/mesa/swrast/s_span.c
src/mesa/swrast/s_span.h
src/mesa/swrast/s_stencil.c