platform_bionic/libc
Tom Cherry 8352475c75 Replace snprintf() with __libc_format_buffer()
If snprintf() is called from the linker, it may erroneously return a
null string.  The libc internal __libc_format_buffer() does not have
this problem, so it is now used instead.

Bug: 26756577

Change-Id: I37a97e27f59b3c0a087f54a6603cc3aff7f07522
2016-01-26 23:51:01 +00:00
..
arch-arm Move __aeabi* symbols to LIBC_N version 2016-01-08 10:13:16 -08:00
arch-arm64 Defend against -fstack-protector in libc startup. 2016-01-06 20:06:08 -08:00
arch-common/bionic Properly align init/fini_arrays for crtend.o 2015-05-07 12:56:15 -07:00
arch-mips fix the mremap signature 2015-11-06 13:14:43 -08:00
arch-mips64 fix the mremap signature 2015-11-06 13:14:43 -08:00
arch-x86 Explicit binary op order for both gcc and clang/llvm. 2016-01-12 09:48:09 -08:00
arch-x86_64 Defend against -fstack-protector in libc startup. 2016-01-06 20:06:08 -08:00
bionic Replace snprintf() with __libc_format_buffer() 2016-01-26 23:51:01 +00:00
dns Sync with upstream OpenBSD. 2016-01-15 16:30:18 -08:00
include Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
kernel <netinet/udp.h> should include <linux/udp.h>. 2015-09-22 12:34:13 -07:00
malloc_debug Fix gcc test issues. 2016-01-25 17:27:40 -08:00
private Revert "Revert "Make sem_wait able to return errno EINTR for sdk > 23."" 2016-01-25 17:39:18 -08:00
stdio Support _FILE_OFFSET_BITS=64 for most of <stdio.h>. 2016-01-26 09:14:41 -08:00
stdlib Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
tools Add more fortify symbols to the expected differences from glibc. 2016-01-15 19:54:31 -08:00
tzcode Remove mktime_tz. 2016-01-06 09:15:02 -08:00
upstream-freebsd Move several FreeBSD functions to OpenBSD. 2015-09-14 19:01:58 -07:00
upstream-netbsd resolve merge conflicts of d676080a37 to lmp-mr1-ub-dev. 2015-10-21 14:56:52 -07:00
upstream-openbsd Add _seek64 to FILE. 2016-01-22 23:54:10 -08:00
zoneinfo Update timezone data to 2015g 2015-10-14 08:54:17 +00:00
Android.bp Update Android.bp to match Android.mk 2016-01-20 12:01:19 -08:00
Android.mk Implement POSIX lockf. 2016-01-26 11:09:44 -08:00
crt.mk
libc.arm.brillo.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.arm.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.arm64.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.map.txt Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.mips.brillo.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.mips.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.mips64.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.x86.brillo.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.x86.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
libc.x86_64.map Merge "Support _FILE_OFFSET_BITS=64 for most of <stdio.h>." 2016-01-26 20:51:59 +00:00
MODULE_LICENSE_BSD
NOTICE Regenerate NOTICE files. 2015-08-28 20:23:52 -07:00
SYSCALLS.TXT fix the mremap signature 2015-11-06 13:14:43 -08:00
version_script.txt Revert "Fix volantis boot." 2015-05-08 09:36:03 -07:00