Bug 113710

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

Description Brady Eidson 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.

Comment 1 Brady Eidson 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.
Comment 2 Brady Eidson 2013-04-01 10:56:37 PDT
Created attachment 195995 [details]
Patch v1
Comment 3 Brady Eidson 2013-04-01 11:03:50 PDT