nasm/asm
Cyrill Gorcunov 67f2ca2b3f preproc: Fix out of range access in expand mmacro
On specially crafetd malformed input file the params
might be zapped (say due to invalid syntax) so we might
access out of bound having nil dereference in best case.

Note the later code in this helper uses tok_isnt_ helper
which already has similar check.

https://bugzilla.nasm.us/show_bug.cgi?id=3392518

Reported-by: Jordan Zebor <j.zebor@f5.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2018-10-13 19:41:01 +03:00
..
assemble.c optimization: Introduce new flag to turn-off selectively 2018-08-16 00:01:31 +03:00
assemble.h
directiv.c absolute: in absolute space, need to use absolute.segment 2018-06-25 14:09:52 -07:00
directiv.dat Make any execution limit configurable, add eval limit 2018-06-12 13:54:42 -07:00
error.c asm: add a default-off warning for phase error in pass 1 2018-06-27 21:03:38 -07:00
eval.c Make limits 64 bits, add globallines limit to configurable limits 2018-06-15 17:57:15 -07:00
eval.h
exprdump.c
exprlib.c
float.c float: fix bogus pass flags for errors and warnings 2018-07-06 03:11:52 -07:00
float.h
labels.c labels: Make sure nil label is never passed 2018-10-13 17:18:05 +03:00
listing.c gcc: fix mistakes discovered by recent gcc 2018-06-02 23:48:16 -07:00
listing.h
nasm.c labels: Don't nil dereference if no label provided 2018-10-13 16:18:16 +03:00
parser.c parser: Fix sigsegv on certain equ instruction parsing 2018-10-13 18:10:30 +03:00
parser.h Cleanup of label renaming infrastructure, add subsection support 2018-06-01 18:06:25 -07:00
phash.pl
pptok.dat
pptok.pl
pragma.c pragma: define a hander for generic output (and debug) pragmas 2018-06-18 11:34:33 -07:00
preproc-nop.c Add --pragma and --before option; make --include = -P 2018-06-11 13:32:42 -07:00
preproc.c preproc: Fix out of range access in expand mmacro 2018-10-13 19:41:01 +03:00
preproc.h
quote.c
quote.h
rdstrnum.c
segalloc.c segalloc: DO NOT reset segment numbers 2018-06-14 16:42:03 -07:00
stdscan.c
stdscan.h
strfunc.c
tokens.dat
tokhash.pl