[Webkit-unassigned] [Bug 223646] [GTK][WPE] JSC crashes if a function expects a parameter but doesn't receive any

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 24 07:05:11 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=223646

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aperez at igalia.com

--- Comment #2 from Adrian Perez <aperez at igalia.com> ---
(In reply to Carlos Garcia Campos from comment #1)
> We need to fix the crash, but I don't think we should throw a exception, it
> should just receive undefined.

I had a patch half done which would raise TypeError. I don't know if we
can reliably pass “undefined” to C functions... What would “undefined”
be e.g. for an “int32_t” or a “char*”?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210324/84ef3736/attachment.htm>


More information about the webkit-unassigned mailing list