commit | cd587701c8590fb34bb69804b5d3b3c14d3d2508 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Sep 26 10:02:30 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Wed Sep 26 10:19:31 2012 -0700 |
tree | d1ffda558ee1c2879ef515d6af99ad587948ccbd | |
parent | 6e0e03c38bc0e864225b89b3fb273fb56ded8940 [diff] [blame] |
FORTIFY_SOURCE: add umask check Verify that the call to umask makes sense. While this wouldn't have detected bug 7094213 (because the low order bits were all zero), it might detect other similar bugs. References: https://code.google.com/p/android-source-browsing/source/detail?r=acba45cc4b1f98f67fcdeda2f7c13ed57659b92a&repo=platform--libcore Change-Id: I966a531d6b3cf8e1c5eacd69bd3cbec475b5fa58
diff --git a/libc/Android.mk b/libc/Android.mk index 6a77deb..a781967 100644 --- a/libc/Android.mk +++ b/libc/Android.mk
@@ -257,6 +257,7 @@ tzcode/strftime.c \ tzcode/strptime.c \ bionic/__set_errno.c \ + bionic/__umask_chk.c \ bionic/bionic_clone.c \ bionic/cpuacct.c \ bionic/arc4random.c \