pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2015-04-19
2015-04-19 18:45:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>
978cc61cb1e6aabd3cc264be77bc447dbb0042ae (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Compiler: Fixed potential NULL-deref. Fixes [CID 742527].
2530:
if(!(flags & DO_NOT_COPY)) { while(n && (n->token==F_INDEX || n->token==F_ARROW)) n=CAR(n);
-
if(n->token==F_CONSTANT && !(n->node_info & OPT_EXTERNAL_DEPEND))
+
if(n
&& n
->token==F_CONSTANT && !(n->node_info & OPT_EXTERNAL_DEPEND))
emit0(F_COPY_VALUE); } }