commit 5696aedf508847c67cb0cdecadeca3e9f3296763
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Wed Feb 17 12:38:48 2021 +0100
Commit: GitHub <noreply@github.com>
CommitDate: Wed Feb 17 12:38:48 2021 +0100
fix padvalue typo in the REJECT buffer overflow emulation (#1350)
---
src/doom/p_setup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/doom/p_setup.c b/src/doom/p_setup.c
index 4de6bc84..1a66fa42 100644
--- a/src/doom/p_setup.c
+++ b/src/doom/p_setup.c
@@ -726,7 +726,7 @@ static void PadRejectArray(byte *array, unsigned int len)
}
else
{
- padvalue = 0xf00;
+ padvalue = 0x00;
}
memset(array + sizeof(rejectpad), padvalue, len - sizeof(rejectpad));