Bug 11806 - Wrong upper index check, buffer overflow .../dri/sis/sis_tex.c
Summary: Wrong upper index check, buffer overflow .../dri/sis/sis_tex.c
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/SiS (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords: janitor, patch
Depends on:
Blocks:
 
Reported: 2007-08-02 01:00 UTC by Roland "Test-tools" Bär
Modified: 2007-08-02 07:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
MAX_TEXTURE_LEVELS => SIS_MAX_TEXTURE_LEVELS (783 bytes, patch)
2007-08-02 01:01 UTC, Roland "Test-tools" Bär
Details | Splinter Review

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.