Bug 115461 - JSC crashes when JSContextGroupSetExecutionTimeLimit() specified a null callback
Summary: JSC crashes when JSContextGroupSetExecutionTimeLimit() specified a null callback
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-30 19:22 PDT by Mark Lam
Modified: 2013-04-30 19:39 PDT (History)
1 user (show)

See Also:


Attachments
the patch. (5.45 KB, patch)
2013-04-30 19:33 PDT, Mark Lam
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2013-04-30 19:22:07 PDT
JSContextGroupSetExecutionTimeLimit() should not pass a callback to the VM watchdog if its client did not pass one in i.e. when callback is null.
Comment 1 Mark Lam 2013-04-30 19:33:00 PDT
Created attachment 200199 [details]
the patch.
Comment 2 Mark Lam 2013-04-30 19:39:49 PDT
Reviewed offline by Geoffrey Garen.  Landed in r149420: <http://trac.webkit.org/changeset/149420>.