summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/macros.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <[email protected]>2014-04-08 09:10:09 -0600
committerKenneth Graunke <[email protected]>2014-04-08 12:55:25 -0700
commitcb4ad1368551b64756c7b6e2007588e34739b188 (patch)
tree17abe7cb78c0a3aac1344980114acd7e28b59116 /src/mesa/main/macros.h
parenta22d944fdb353c5b0f8e5fc73b6014db95cfe104 (diff)
mesa: add bounds checking to eliminate buffer overrun
Decompressing ETC2 textures was causing intermitent segfault by copying resulting 4x4 texel block to the destination texture regardless of the size of the destination texture. Issue found via application crash in GLBenchmark 3.0's Manhattan test. v2: add more detail comment. Compute limit outside inner loops. v3: add bugzilla reference v4: Correct cc syntax in commit log v5: really grab the right patch Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74988 Cc: "9.2 10.0 10.1" <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> [v1, suggested v2-3]
Diffstat (limited to 'src/mesa/main/macros.h')
0 files changed, 0 insertions, 0 deletions