Bug 113710

Summary: SharedMemory release build hardening
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit2Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: All   
Attachments:
Description Flags
Patch v1 andersca: review+

Brady Eidson
Reported 2013-04-01 10:49:54 PDT
SharedMemory release build hardening. Making a named memory entry can succeed but give a memory object size smaller than the size requested. This is an error for us and should be treated as a failure to create the memory. <rdar://problem/13546860>
Attachments
Patch v1 (2.64 KB, patch)
2013-04-01 10:56 PDT, Brady Eidson
andersca: review+
Brady Eidson
Comment 1 2013-04-01 10:50:15 PDT
Note, there's already an ASSERT to this effect, but it needs to be handled in release builds also.
Brady Eidson
Comment 2 2013-04-01 10:56:37 PDT
Created attachment 195995 [details] Patch v1
Brady Eidson
Comment 3 2013-04-01 11:03:50 PDT
Note You need to log in before you can comment on or make changes to this bug.