commit | 9101b00400cfb20b96112682169c5da67e065ff2 | [log] [tgz] |
---|---|---|
author | Daniel Micay <danielmicay@gmail.com> | Wed May 20 15:31:26 2015 -0400 |
committer | Daniel Micay <danielmicay@gmail.com> | Sat Aug 01 00:42:30 2015 -0400 |
tree | de51712678e0abbab722c1c0601c2f1508b387bf | |
parent | 807f27f9548077f114dc009f60764fb0241a2620 [diff] [blame] |
add a fortified implementation of getcwd Change-Id: Ice3e6d3e1ff07788305dc85f8ee4059baad5fac4
diff --git a/libc/bionic/getcwd.cpp b/libc/bionic/getcwd.cpp index a8bbcf3..bcd6a57 100644 --- a/libc/bionic/getcwd.cpp +++ b/libc/bionic/getcwd.cpp
@@ -26,6 +26,7 @@ * SUCH DAMAGE. */ +#undef _FORTIFY_SOURCE #include <errno.h> #include <malloc.h> #include <string.h>