commit | e2341d08fa4a4e0c22056c410fd34d3f93e06017 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri May 02 18:16:32 2014 -0700 |
committer | Elliott Hughes <enh@google.com> | Mon May 05 14:43:17 2014 -0700 |
tree | 9f690c9aa212dc1d3301b4a25a006e1362ac5151 | |
parent | e987803c35b472f378f81a37beb162ac86e01503 [diff] [blame] |
Disable %n in printf and vfwprintf. Bug: 14492135 Change-Id: If190bede29e5f68a65043ddbe8e878c660933d03
diff --git a/libc/stdio/local.h b/libc/stdio/local.h index 5fb2292..907fd21 100644 --- a/libc/stdio/local.h +++ b/libc/stdio/local.h
@@ -102,6 +102,7 @@ #define FLOATING_POINT #define PRINTF_WIDE_CHAR #define SCANF_WIDE_CHAR +#define NO_PRINTF_PERCENT_N /* OpenBSD exposes these in <stdio.h>, but we only want them exposed to the implementation. */ __BEGIN_DECLS