pike.git/
src/
las.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-03-14
2022-03-14 13:51:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>
2980f3a8c3c99497c4ea837c3c8e74da4a72565a (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Fix NULL-deref.
3719:
copy_pike_type(n->type, CDR(n)->type); } else { struct pike_type *t;
-
if( CDR(n)->type->type == PIKE_T_AUTO )
+
if( CDR(n)->type
&& (CDR(n)
->type
->type
== PIKE_T_AUTO
)
)
{ /* Update to actual type (assign from soft-cast to auto). */ free_type( CDR(n)->type );