platform_bionic/libc/stdio
Elliott Hughes 41398d03b7 Call __fortify_fatal if printf sees %n.
We've ignored %n for a long time, but that's dangerous too because it
makes it unclear whether the corresponding pointer argument should be
supplied or not.

Remove the ambiguity by just rejecting %n outright.

Bug: http://b/31832608
Test: ran tests
Change-Id: Ic046ad3436a30c6f8f580ea738bdcaeb01c858f8
2018-03-07 13:32:58 -08:00
..
fmemopen.cpp Replace fmemopen. 2017-07-24 10:48:42 -07:00
glue.h Rename LIBC64_HIDDEN to LIBC32_LEGACY_PUBLIC. 2015-10-23 12:32:52 -07:00
local.h Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
parsefloat.c Start de-duplicating the regular and wide printf implementations. 2017-11-01 18:13:36 -07:00
printf_common.h Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
refill.c More missing _unlocked <stdio.h> functions. 2017-10-31 13:23:41 -07:00
stdio.cpp Remove __overloadable/__RENAME_CLANG 2018-02-06 13:35:56 -08:00
stdio_ext.cpp Add __fseterr. 2018-02-14 15:25:21 -08:00
vfprintf.cpp Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
vfscanf.cpp Simplify CT_CCL and CT_STRING inner loop. 2018-01-19 17:58:07 -08:00
vfwprintf.cpp Call __fortify_fatal if printf sees %n. 2018-03-07 13:32:58 -08:00
vfwscanf.c More scanf cleanup. 2017-12-12 17:10:51 -08:00