shithub: choc

Download patch

ref: 5696aedf508847c67cb0cdecadeca3e9f3296763
parent: b26157aca5b12049b35d8dfcf969c51967a369f6
author: Fabian Greffrath <fabian@greffrath.com>
date: Wed Feb 17 07:38:48 EST 2021

fix padvalue typo in the REJECT buffer overflow emulation (#1350)


--- a/src/doom/p_setup.c
+++ b/src/doom/p_setup.c
@@ -726,7 +726,7 @@
         }
         else
         {
-            padvalue = 0xf00;
+            padvalue = 0x00;
         }
 
         memset(array + sizeof(rejectpad), padvalue, len - sizeof(rejectpad));