summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorLi Qiang <[email protected]>2017-01-10 03:56:31 -0500
committerMarek Olšák <[email protected]>2017-01-11 12:40:38 +0100
commit6205c533030687c9680f5175e8158060c6e24221 (patch)
tree57b8f0eecd63aade93765b2945dd91de5f0e9f6e /src/compiler
parent2c0d849e2d2990c0122dfb161132558d971e77db (diff)
gallium/tgsi: fix overflow in parse property
In parse_identifier, it doesn't stop copying '*pcur' untill encounter the NULL. As the 'ret' has a fixed-size buffer, if the '*pcur' has a long string, there will be a buffer overflow. This patch avoid this. Signed-off-by: Li Qiang <[email protected]> Signed-off-by: Marek Olšák <[email protected]> Reviewed-by: Marc-André Lureau <[email protected]>
Diffstat (limited to 'src/compiler')
0 files changed, 0 insertions, 0 deletions