Bug 55190

Summary: Crash when trying to send a sync message on an invalid connection
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, mitz
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: OS X 10.5   
Attachments:
Description Flags
Patch mitz: review+

Anders Carlsson
Reported 2011-02-24 15:36:35 PST
Crash when trying to send a sync message on an invalid connection
Attachments
Patch (1.38 KB, patch)
2011-02-24 15:39 PST, Anders Carlsson
mitz: review+
Anders Carlsson
Comment 1 2011-02-24 15:39:06 PST
mitz
Comment 2 2011-02-24 15:40:25 PST
Comment on attachment 83734 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=83734&action=review > Source/WebKit2/ChangeLog:11 > + Don't try to call a client function is isValid() returns false since the client s/n is/n if/
Anders Carlsson
Comment 3 2011-02-24 15:40:58 PST
Alexey Proskuryakov
Comment 4 2011-02-24 22:52:18 PST
So, all callers of sendSync() need to test for null return value again? This can't be right.
Anders Carlsson
Comment 5 2011-02-25 09:54:52 PST
(In reply to comment #4) > So, all callers of sendSync() need to test for null return value again? This can't be right. You obviously can't call the client since the client is null!
Note You need to log in before you can comment on or make changes to this bug.