Bug 39841 - Buffer access out-of-bounds in texcompress_rgtc_tmp.h
Summary: Buffer access out-of-bounds in texcompress_rgtc_tmp.h
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 12:55 UTC by Timo Wiren
Modified: 2011-08-04 14:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Timo Wiren 2011-08-04 12:55:03 UTC
Cppcheck found out-of-bounds buffer access in \mesa\main\texcompress_rgtc_tmp.h:185: acutValues.  Array size is 7, but the loop is over 8 elements.  Found in Mesa 7.11 release.
Comment 1 Brian Paul 2011-08-04 14:34:59 UTC
Fixed with commit 1c8d079e205919b24e04efdc2421c18d03f078ff


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.