__strnlen_chk: avoid recursive strlen calls
Don't use FORTIFY_SOURCE on functions which implement FORTIFY_SOURCE. Bug: 12216860 Change-Id: I61db1b47ccdd6bdcf41eab3303f4806494016199
This commit is contained in:
parent
f5897dcb1d
commit
ddea383433
@ -26,6 +26,8 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef _FORTIFY_SOURCE
|
||||
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include "private/libc_logging.h"
|
||||
|
Loading…
Reference in New Issue
Block a user