mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 18:08:40 +02:00
tgsi: null-terminate string in parse_identifier
Hit this parsing geometry shader properties.
This commit is contained in:
parent
045174b685
commit
eb430046de
1 changed files with 1 additions and 0 deletions
|
|
@ -138,6 +138,7 @@ static boolean parse_identifier( const char **pcur, char *ret )
|
|||
ret[i++] = *cur++;
|
||||
while (is_alpha_underscore( cur ))
|
||||
ret[i++] = *cur++;
|
||||
ret[i++] = '\0';
|
||||
*pcur = cur;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue