~ubuntu-branches/ubuntu/precise/mesa/precise-security

« back to all changes in this revision

Viewing changes to src/mesa/drivers/dri/i965/brw_eu.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers, Steve Beattie
  • Date: 2012-10-19 09:04:04 UTC
  • mfrom: (163.1.4 precise-proposed)
  • Revision ID: package-import@ubuntu.com-20121019090404-5zbjpsp6knv7zl3b
Tags: 8.0.4-0ubuntu0.2
[ Steve Beattie ]
* SECURITY UPDATE: samplers array overflow (LP: #1046933)
  - debian/patches/50-CVE-2012-2864.patch: ensure that more than
    MAX_SAMPLERS are not used
  - CVE-2012-2864

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
   case BRW_CONDITIONAL_NZ:
48
48
      return cmod;
49
49
   case BRW_CONDITIONAL_G:
 
50
      return BRW_CONDITIONAL_L;
 
51
   case BRW_CONDITIONAL_GE:
50
52
      return BRW_CONDITIONAL_LE;
51
 
   case BRW_CONDITIONAL_GE:
52
 
      return BRW_CONDITIONAL_L;
53
53
   case BRW_CONDITIONAL_L:
 
54
      return BRW_CONDITIONAL_G;
 
55
   case BRW_CONDITIONAL_LE:
54
56
      return BRW_CONDITIONAL_GE;
55
 
   case BRW_CONDITIONAL_LE:
56
 
      return BRW_CONDITIONAL_G;
57
57
   default:
58
58
      return ~0;
59
59
   }