From ac811f99c023dd230c62f8e57e0feea1c2848da7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 13 Jul 2017 16:23:51 +0300 Subject: [PATCH] Fixed uninitialized variable in XLAT parser https://forum.zdoom.org/viewtopic.php?t=57109 --- src/xlat/xlat_parser.y | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xlat/xlat_parser.y b/src/xlat/xlat_parser.y index 76567a500..e92107f7b 100644 --- a/src/xlat/xlat_parser.y +++ b/src/xlat/xlat_parser.y @@ -301,6 +301,7 @@ boom_line(A) ::= boom_selector(sel) boom_op(op) boom_args(args). { A.bOrExisting = (op == OR_EQUAL); A.bUseConstant = (args.filters == NULL); + A.ListSize = 0; A.ArgNum = sel; A.ConstantValue = args.constant; A.AndValue = args.mask;