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+

Chris Dumez
Reported 2015-02-05 13:58:17 PST
mmap() returns MAP_FAILED, which is (void*)-1, not a null pointer in case of failure.
Attachments
Patch (3.79 KB, patch)
2015-02-05 14:03 PST, Chris Dumez
andersca: review+
Chris Dumez
Comment 1 2015-02-05 14:03:18 PST
Chris Dumez
Comment 2 2015-02-05 14:13:14 PST
Note You need to log in before you can comment on or make changes to this bug.