Bug 11806

Summary: Wrong upper index check, buffer overflow .../dri/sis/sis_tex.c
Product: Mesa Reporter: Roland "Test-tools" Bär <roland>
Component: Drivers/DRI/SiSAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: janitor, patch
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: MAX_TEXTURE_LEVELS => SIS_MAX_TEXTURE_LEVELS

Description Roland "Test-tools" Bär 2007-08-02 01:00:38 UTC
A check is done based on MAX_TEXTURE_LEVELS which is 12, but the then used array has only SIS_MAX_TEXTURE_LEVELS 11. Please apply attached patch.
Comment 1 Roland "Test-tools" Bär 2007-08-02 01:01:46 UTC
Created attachment 10953 [details] [review]
MAX_TEXTURE_LEVELS => SIS_MAX_TEXTURE_LEVELS
Comment 2 Brian Paul 2007-08-02 07:35:23 UTC
fixed in git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.