summaryrefslogtreecommitdiffhomepage
path: root/g3doc
diff options
context:
space:
mode:
authorRahat Mahmood <rahat@google.com>2018-10-23 14:17:47 -0700
committerShentubot <shentubot@google.com>2018-10-23 14:18:54 -0700
commit46603b569c3ab20f45cf1b651d1fd3d2dda33243 (patch)
tree72ebbd8001a9ffad922e2192f8e3afec3f6d653a /g3doc
parent1369e17504f994024aea84bb0e4aa9ddce00f70a (diff)
Fix panic on creation of zero-len shm segments.
Attempting to create a zero-len shm segment causes a panic since we try to allocate a zero-len filemem region. The existing code had a guard to disallow this, but the check didn't encode the fact that requesting a private segment implies a segment creation regardless of whether IPC_CREAT is explicitly specified. PiperOrigin-RevId: 218405743 Change-Id: I30aef1232b2125ebba50333a73352c2f907977da
Diffstat (limited to 'g3doc')
0 files changed, 0 insertions, 0 deletions