diff options
author | Dimitry Ivanov <dimitry@google.com> | 2016-07-22 12:50:59 -0700 |
---|---|---|
committer | Dimitry Ivanov <dimitry@google.com> | 2016-07-22 12:53:28 -0700 |
commit | c73eec159f287ce8911cfcfd122e24c37d584eb9 (patch) | |
tree | f606eebe267c97c68545b78e797826853b88957e /libc/stdio/stdio_ext.cpp | |
parent | 91f33cd5ae3f09b7d2e614f5d0809037c1708db1 (diff) |
Add sanity checks for e_shentsize and e_shstrndx
This helps us avoid situations when malformed elf-files
are mistakenly loaded, - which might result in unexpected
behavior.
Bug: http://b/30166532
Test: bionic-unit-tests --gtest_filter=dl*:Dl*
Change-Id: Idd6b4fa20e1d69a9f8d8391ba69c724d930fee51
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions