Skip to content
Snippets Groups Projects
Commit 52460c3a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Range check argc before deref of argv[1]

Apparently JSVAL_IS_STRING() can return true even when argv[1] is out of range
(I guess I assumed it'd alwasy be NULL or VOID/undefined) and this can lead to
crash when calling JS_ValueToString() on it.
parent 8f79b209
Branches
Tags
No related merge requests found
Pipeline #7290 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment