aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/intel_pixel.c
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2013-05-30 09:51:41 +1000
committerDave Airlie <[email protected]>2013-05-30 12:59:34 +1000
commit98dfd59a0445666060c97b0dccaf0e9f030b547a (patch)
tree2e40353b8096a048e14cb4d1ade37738623b3603 /src/mesa/drivers/dri/i965/intel_pixel.c
parent02fe736cc0e6866daa50aaae1ed7b977522eaf65 (diff)
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/intel_pixel.c')
0 files changed, 0 insertions, 0 deletions