summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch_tmp.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2011-02-01 00:20:01 -0800
committerKenneth Graunke <[email protected]>2011-02-01 00:20:01 -0800
commita7d350790b4d0416117bc785aa77de52e9298a01 (patch)
treee34c744e999d1e052f9ef34dfc236ae56642898d /src/mesa/main/texfetch_tmp.h
parent11bc8991e94e2fa6d461193a6aff47f8f94b7a47 (diff)
glsl: Fix memory error when creating the supported version string.
Passing ralloc_vasprintf_append a 0-byte allocation doesn't work. If passed a non-NULL argument, ralloc calls strlen to find the end of the string. Since there's no terminating '\0', it runs off the end. Fixes a crash introduced in 14880a510a1a288df0778395097d5a52806abfb0.
Diffstat (limited to 'src/mesa/main/texfetch_tmp.h')
0 files changed, 0 insertions, 0 deletions