bionic/libc
Christopher Ferris 16e185c908 __memcpy_chk: Fix signed cmp of unsigned values.
I accidentally did a signed comparison of the size_t values passed in
for three of the _chk functions. Changing them to unsigned compares.

Add three new tests to verify this failure is fixed.

Bug: 10691831

Merge from internal master.

(cherry-picked from 883ef2499c)

Change-Id: Id9a96b549435f5d9b61dc132cf1082e0e30889f5
2013-09-20 20:12:09 -07:00
..
arch-arm __memcpy_chk: Fix signed cmp of unsigned values. 2013-09-20 20:12:09 -07:00
arch-mips Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
arch-x86 Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
bionic Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
include Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00
kernel Add linux/sock_diag.h 2013-09-19 16:44:53 -07:00
netbsd Change how DNS resolver handle no default iface 2013-08-22 21:05:49 -07:00
private Fix mismatch between declaration and forward declaration 2013-09-18 23:40:19 +02:00
stdio Upgrade mktemp.c to the current upstream version. 2013-07-19 15:20:31 -07:00
stdlib Make ctype.h a little less unhygienic. 2013-08-13 14:30:59 -07:00
string Optimize __memset_chk, __memcpy_chk. DO NOT MERGE. 2013-08-14 18:14:43 -07:00
tools Slight script cleanup; make gensyscalls work from any directory. 2013-06-17 10:39:33 -07:00
tzcode Use $ANDROID_DATA and $ANDROID_ROOT to find the tzdata. 2013-09-19 11:17:42 -07:00
unistd Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
upstream-dlmalloc Fix build warning of initialization but no use. 2012-09-06 09:59:13 -07:00
upstream-freebsd Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols. 2013-08-12 12:07:05 -07:00
upstream-netbsd Add more __restricts, clean up __format__ attributes. 2013-05-14 16:08:43 -07:00
wchar Switch to upstream-freebsd for the unmolested wchar code. 2013-03-01 18:35:56 -08:00
zoneinfo Upgrade to tzdata2013d. 2013-07-08 14:51:15 -07:00
Android.mk Add explicit -m32/-melf_i386 for x86 target 2013-08-23 16:46:42 +04:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE libc/arch-arm/bionic/memcpy.a9.S: memcpy from cortex-strings. 2013-07-03 10:20:43 -07:00
SYSCALLS.TXT Ensure we have the off64_t variant of every function that takes an off_t. 2013-09-19 16:27:24 -07:00