Bug 113710 - SharedMemory release build hardening
Summary: SharedMemory release build hardening
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac All
: P2 Normal
Assignee: Brady Eidson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-04-01 10:49 PDT by Brady Eidson
Modified: 2013-04-01 11:03 PDT (History)
0 users

See Also:


Attachments
Patch v1 (2.64 KB, patch)
2013-04-01 10:56 PDT, Brady Eidson
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.

<rdar://problem/13546860>
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
http://trac.webkit.org/changeset/147342