mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Mapster32: fix AWFUL out-of-bounds WRITE with sector highlighting.
How in the name of hell this could pass undetected for so long is a mystery to me. git-svn-id: https://svn.eduke32.com/eduke32@2163 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c7aa4592c2
commit
a950232046
1 changed files with 1 additions and 1 deletions
|
@ -4456,7 +4456,7 @@ end_yax: ;
|
|||
// didmakered: 'bad'!
|
||||
int32_t didmakered = (highlightsectorcnt<0), hadouterpoint=0;
|
||||
#ifdef YAX_ENABLE
|
||||
for (i=0; i<MAXSECTORS; i++)
|
||||
for (i=0; i<MAXSECTORS>>3; i++)
|
||||
hlorgraysectbitmap[i] = hlsectorbitmap[i]|graysectbitmap[i];
|
||||
#endif
|
||||
for (i=0; i<highlightsectorcnt; i++)
|
||||
|
|
Loading…
Reference in a new issue