pike.git/
src/
pike_types.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2021-04-13
2021-04-13 10:29:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>
06458a9722a45f23a7bc7b74855ce7cb5a9a1b0e (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Fix NULL-deref in push_unlimited_array_type().
823:
get_name_of_type(t), t); } #endif
-
if (peek_type_stack()->type == PIKE_T_ZERO) {
+
if (
!
peek_type_stack()
|| (peek_type_stack()
->type == PIKE_T_ZERO)
)
{
push_type(PIKE_T_ZERO); } else { push_int_type(0, MAX_INT32);