summaryrefslogtreecommitdiff
path: root/libcutils/socket_local_server_unix.cpp
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2016-09-21 14:58:11 -0700
committerJiyong Park <jiyong@google.com>2017-06-30 17:18:31 +0900
commitfba1a36fd912963a838bcf992f898bc5e9370b63 (patch)
treee9fa009e369796202bb1097ce054358d611eede3 /libcutils/socket_local_server_unix.cpp
parent7dbf1a187e6d82eb1dc3d9b2da44e8e320d5c758 (diff)
Fix out of bound access in libziparchive
The boundary check of an invalid EOCD record may succeed due to the overflow of uint32_t. Fix the check and add a unit test. Test: Open the crash.apk and libziparchive reports the offset error as expected. Bug: 31251826 Merged-In: I1d8092a19b73886a671bc9d291cfc27d65e3d236 Change-Id: I1d8092a19b73886a671bc9d291cfc27d65e3d236 (cherry picked from commit ae8180c06dee228cd1378c56afa6020ae98d8a24)
Diffstat (limited to 'libcutils/socket_local_server_unix.cpp')
0 files changed, 0 insertions, 0 deletions