pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-09-15
2022-09-15 10:35:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>
f07612da250c82bfbe66a09834444a920fc55479 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Fix NULL-deref.
977:
case PIKE_T_SCOPE: /* Deferred evaluation. */ if (op & 0x8000) {
-
add_ref(arg);
+
if (arg)
add_ref(arg);
*Pike_compiler->type_stackp = mk_type(op, *Pike_compiler->type_stackp, arg,