mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +00:00
Make sure this string is null-terminated
This commit is contained in:
parent
35ba7fb2c4
commit
b95ec0d28e
@ -163,6 +163,8 @@ static void gl_cg_set_uniform_parameter(
|
||||
char ident[64];
|
||||
CGprogram prog = 0;
|
||||
|
||||
ident[0] = '\0';
|
||||
|
||||
switch (param->lookup.type)
|
||||
{
|
||||
case SHADER_PROGRAM_VERTEX:
|
||||
|
Loading…
x
Reference in New Issue
Block a user