mesa/src
Dave Airlie 98dfd59a04 i965: fix problem with constant out of bounds access (v2)
This is my attempt at fixing this as the CVE is making RH security team
care enough to make me look at this. (please upstream, security fixes are
more important than whatever else you are doing, if for no other reason than
it saves me having to fix stuff I've no real clue about).

Since Frank's original fix was denied, here is my attempt to just
alias all constants that are out of bounds < 0 or > nr_params to constant 0,
hopefully this provides the undefined behaviour idr requires..

CVE-2013-1872

v2: drop the last hunk which was a separate fix (now in master).
hopefully fix the indentations.

NOTE: This is a candidate for stable branches.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-05-30 12:59:34 +10:00
..
egl egl/android: Fix error condition for EGL_ANDROID_image_native_buffer 2013-05-08 08:44:05 -07:00
gallium draw: add cast in debug_printf() to silence warning 2013-05-29 18:07:35 -06:00
gbm gbm: Remember to init format on gbm_dri_bo_create. 2013-02-07 20:00:52 -05:00
getopt
glsl glsl: Fix MSVC build. 2013-05-28 13:56:18 +01:00
glx mesa: Restore 78-column wrapping of license text in C-style comments. 2013-04-23 22:07:09 -07:00
gtest gtest: Build it only for 'make check'. 2013-01-13 12:38:44 +01:00
mapi scons: Don't force stabs debug format for Mingw. 2013-05-21 12:34:19 +01:00
mesa i965: fix problem with constant out of bounds access (v2) 2013-05-30 12:59:34 +10:00
Makefile.am build: Remove GALLIUM_DIRS 2013-04-15 12:04:26 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00