Bug 141304

Summary: [WK2] Properly check for mmap() error case
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, benjamin, kling, koivisto, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Description Chris Dumez 2015-02-05 13:58:17 PST
mmap() returns MAP_FAILED, which is (void*)-1, not a null pointer in case of failure.
Comment 1 Chris Dumez 2015-02-05 14:03:18 PST
Created attachment 246128 [details]
Patch
Comment 2 Chris Dumez 2015-02-05 14:13:14 PST
Committed r179707: <http://trac.webkit.org/changeset/179707>