mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Fix out of bounds write caused by memset call missed when tilesiz was changed from vec2_t to vec2s_t
git-svn-id: https://svn.eduke32.com/eduke32@6337 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2b7cd33fc2
commit
cabb918c64
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ int32_t loadpics(const char *filename, int32_t askedsize)
|
||||||
{
|
{
|
||||||
Bstrncpyz(artfilename, filename, sizeof(artfilename));
|
Bstrncpyz(artfilename, filename, sizeof(artfilename));
|
||||||
|
|
||||||
Bmemset(&tilesiz[0], 0, sizeof(vec2_t) * MAXTILES);
|
Bmemset(&tilesiz[0], 0, sizeof(vec2s_t) * MAXTILES);
|
||||||
Bmemset(picanm, 0, sizeof(picanm));
|
Bmemset(picanm, 0, sizeof(picanm));
|
||||||
|
|
||||||
// artsize = 0;
|
// artsize = 0;
|
||||||
|
|
Loading…
Reference in a new issue