summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-10-10 12:11:30 -0700
committerJiyong Park <jiyong@google.com>2017-06-30 17:19:28 +0900
commit9e020e2d117ac389387743c22a30f049c39970c7 (patch)
treeefcefa16d4b8c73e8b2d06d3741beff9d0dc7e25 /libcutils/socket_local_server_unix.cpp
parentfba1a36fd912963a838bcf992f898bc5e9370b63 (diff)
Check filename memory bound when parsing ziparchive
Add a check to ensure the filename boundary doesn't exceed the mapped memory region. Also add the corresponding unit test. Bug: 28802225 Test: New unit test passes. Merged-In: Ibf543a7da3d7898952e9eb332c84cdfc67cf5aa4 Change-Id: Ibf543a7da3d7898952e9eb332c84cdfc67cf5aa4 (cherry picked from commit bcc4431f240d1ee5bc89c6ab41542e096e07c48c)
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions