diff options
| author | Logan Chien <loganchien@google.com> | 2019-11-20 09:52:06 -0800 |
|---|---|---|
| committer | Logan Chien <loganchien@google.com> | 2019-12-23 07:14:05 -0800 |
| commit | d98dac41df84e3f99d9a2e2bf158dc29ca7edf53 (patch) | |
| tree | 0964a13ed92b2093f96bdf9ceeda954e9fb9aaa1 /libc/stdio/stdio.cpp | |
| parent | aaffa3c6d4bf620e211257b505223fab370ba3a1 (diff) | |
versioner: Fix fortified sendto
This commit fixes an error in fortified `sendto` function. Since
`__sendto_chk` is only introduced in API 26, the usage should be guarded
with `__ANDROID__API__ >= 26` instead of
`__ANDROID_API__ >= __ANDROID_API_N_MR1__` (25).
Bug: 118991081
Test: source development/vndk/tools/header-checker/android/envsetup.sh && \
source build/envsetup.sh && \
lunch aosp_arm64-userdebug && \
m versioner && \
./bionic/tools/versioner/run_tests.py
Change-Id: Ibc08244645c3fe76a72d0107138f67ffd56f5caa
Diffstat (limited to 'libc/stdio/stdio.cpp')
0 files changed, 0 insertions, 0 deletions
