GLESv2Imp: fix bad return statement
android-emugl: add formatting strings to fprintf output, fixing possible security issue
This commit is contained in:
parent
830b2d815e
commit
785136fd36
4 changed files with 4 additions and 3 deletions
|
|
@ -99,7 +99,7 @@ bool EntryPoint::parse(unsigned int lc, const std::string & str)
|
|||
std::string vartype, varname;
|
||||
if (!parseParameterDeclaration(field, &vartype, &varname, &error)) {
|
||||
fprintf(stderr,
|
||||
"line: %d: Parsing error in field <%s>\n",
|
||||
"line: %d: Parsing error in field <%s>, error: %s\n",
|
||||
lc,
|
||||
field.c_str(),
|
||||
error.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue