*improved argument checking.
This commit is contained in:
parent
1a9a6bea59
commit
46c2874500
@ -12345,7 +12345,7 @@ _exit:
|
|||||||
int mb_init_coll(struct mb_interpreter_t* s, void** l, mb_value_t* coll) {
|
int mb_init_coll(struct mb_interpreter_t* s, void** l, mb_value_t* coll) {
|
||||||
int result = MB_FUNC_OK;
|
int result = MB_FUNC_OK;
|
||||||
|
|
||||||
if(!s) {
|
if(!s || !coll) {
|
||||||
result = MB_FUNC_ERR;
|
result = MB_FUNC_ERR;
|
||||||
|
|
||||||
goto _exit;
|
goto _exit;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user