null access
This commit is contained in:
@@ -6780,7 +6780,7 @@ JSValue JS_GetPropertyInternal(JSContext *ctx, JSValueConst obj,
|
||||
if (unlikely(tag != JS_TAG_OBJECT)) {
|
||||
switch(tag) {
|
||||
case JS_TAG_NULL:
|
||||
return JS_ThrowTypeErrorAtom(ctx, "cannot read property '%s' of null", prop);
|
||||
return JS_NULL;
|
||||
case JS_TAG_EXCEPTION:
|
||||
return JS_EXCEPTION;
|
||||
case JS_TAG_STRING:
|
||||
|
||||
Reference in New Issue
Block a user