diff options
author | George Burgess IV <gbiv@google.com> | 2017-08-14 14:48:55 -0700 |
---|---|---|
committer | George Burgess IV <gbiv@google.com> | 2017-08-14 14:48:55 -0700 |
commit | 95bd4884b525ad7a898105863c086113556ada29 (patch) | |
tree | 81f2d25c6491285b2fa0aade7a8298aeb7b33d7a /tools/versioner/src/Preprocessor.cpp | |
parent | 30438e4cea83628bcacbedff37a35398bb8b40e7 (diff) | |
download | android_bionic-95bd4884b525ad7a898105863c086113556ada29.tar.gz android_bionic-95bd4884b525ad7a898105863c086113556ada29.tar.bz2 android_bionic-95bd4884b525ad7a898105863c086113556ada29.zip |
libc fortify: error on realpath(NULL, foo)
I've half a mind to make this a warning instead, since this sort of
call isn't UB. That said:
- if the user really wants this (I can't imagine why they would), they
can just put NULL in a non-const variable,
- we're slowly moving to -Werror ~everywhere anyway, and
- it's presumably easier to change this from an error to a warning than
the other way around
Bug: 12231437
Test: m checkbuild on bullhead internal master. No new
CtsBionicTestCases failures.
Change-Id: Ie8bf5a3455f663686fda4a7450fb35d147fa745e
Diffstat (limited to 'tools/versioner/src/Preprocessor.cpp')
0 files changed, 0 insertions, 0 deletions