diff options
| author | George Burgess IV <gbiv@google.com> | 2019-06-06 17:23:32 -0700 |
|---|---|---|
| committer | George Burgess IV <gbiv@google.com> | 2019-06-13 23:26:02 -0700 |
| commit | 8c0ec114c58a76efcc1c195a03a36675b0967e39 (patch) | |
| tree | 4af082b223bc257266533c0bee0a6ceb4a68b2cf /libc/stdio/stdio_ext.cpp | |
| parent | 2356c93d391c1948b3abb7602da3d97bd8b289f2 (diff) | |
fortify: fix up a few diagnostics; add __wur to realpath
As it says on the box.
Since realpath isn't a function definition, any attributes it provides
here just add to the "regular" realpath.
__wur is being added to realpath because it returns NULL on failure, and
the contents of the input buffer are undefined in that case. A blueline
checkbuild showed 0 complaints about this new __wur, so it seems
harmless to add.
Bug: 131861088
Test: mma
Change-Id: If5f47e0e290d86df69c0888711e29775c390fca4
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions
