bionic/libc/arch-arm64/generic
Christopher Ferris e03e1eac0b Fix memchr with a zero length.
The memchr implementation for 64 bit fails if these conditions occur:

- The buffer is 32 byte aligned.
- The buffer contains the character in the first byte.
- The count sent in is zero.

The function should return NULL, but it's not.

Bug: 16676625
Change-Id: Iab33cc7a8b79920350c72f054dff0e0a3cde69ce
2014-07-30 16:06:56 -07:00
..
bionic Fix memchr with a zero length. 2014-07-30 16:06:56 -07:00
generic.mk Add optimized memchr implementation from newlib 2014-07-11 00:17:07 +02:00