Closed DelSkayn closed 5 months ago
It turns out that JS_ThrowTypeError and other similar methods don't take a string but also a vararg and actually call printf directly. Causing any c format specifier in an error message to be replaced with a value read from the process memory.
JS_ThrowTypeError
This PR fixes this bug.
It turns out that
JS_ThrowTypeError
and other similar methods don't take a string but also a vararg and actually call printf directly. Causing any c format specifier in an error message to be replaced with a value read from the process memory.This PR fixes this bug.