bionic/libc/arch-arm64/generic
Christopher Ferris 61833de613 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

(cherry picked from commit e03e1eac0b)

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