From a9502320464d7ba8f24472e41b0a8d480976ec44 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 9 Dec 2011 19:09:45 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/build.c b/polymer/eduke32/build/src/build.c index 73bfbdf08..219371b7a 100644 --- a/polymer/eduke32/build/src/build.c +++ b/polymer/eduke32/build/src/build.c @@ -4456,7 +4456,7 @@ end_yax: ; // didmakered: 'bad'! int32_t didmakered = (highlightsectorcnt<0), hadouterpoint=0; #ifdef YAX_ENABLE - for (i=0; i>3; i++) hlorgraysectbitmap[i] = hlsectorbitmap[i]|graysectbitmap[i]; #endif for (i=0; i