GLESv2Imp: fix bad return statement

android-emugl: add formatting strings to fprintf output, fixing possible security issue
This commit is contained in:
Gianfranco Costamagna 2018-03-19 11:46:59 +01:00
commit 785136fd36
4 changed files with 4 additions and 3 deletions

View file

@ -1158,8 +1158,7 @@ int ApiGen::genDecoderImpl(const std::string &filename)
varoffset.c_str(),
varoffset.c_str(),
varoffset.c_str(),
classname.c_str(),
e->name().c_str()
classname.c_str()
);
varoffset += " + 4";