projects
/
platform
/
upstream
/
nasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ced5a
)
preproc: BR 2222615: fix segfault on bogus %ifmacro
author
H. Peter Anvin
<hpa@zytor.com>
Tue, 4 Nov 2008 22:24:34 +0000
(14:24 -0800)
committer
H. Peter Anvin
<hpa@zytor.com>
Thu, 6 Nov 2008 17:33:16 +0000
(09:33 -0800)
BR 2222615: Fix segmentation fault on %ifmacro without an argument.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
preproc.c
patch
|
blob
|
history
diff --git
a/preproc.c
b/preproc.c
index
e5b5ab3
..
c899828
100644
(file)
--- a/
preproc.c
+++ b/
preproc.c
@@
-1584,7
+1584,6
@@
static bool if_condition(Token * tline, enum preproc_token ct)
bool found = false;
MMacro searching, *mmac;
- tline = tline->next;
skip_white_(tline);
tline = expand_id(tline);
if (!tok_type_(tline, TOK_ID)) {