X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/6465356a983ac139f81d3b7913cdb548477c346c..fc56b708803d28b949a9181528bb0da4d25b3b7b:/secure/strcat_chk.c diff --git a/secure/strcat_chk.c b/secure/strcat_chk.c index c6be25c..7445ab3 100644 --- a/secure/strcat_chk.c +++ b/secure/strcat_chk.c @@ -36,7 +36,7 @@ __strcat_chk (char *__restrict dest, const char *__restrict append, if (__builtin_expect (dstlen < len1 + len2 + 1, 0)) __chk_fail_overflow (); - if (__builtin_expect (__chk_assert_no_overlap, 1)) + if (__builtin_expect (__chk_assert_no_overlap != 0, 1)) __chk_overlap(dest, len1 + len2 + 1, append, len2 + 1); memcpy(dest + len1, append, len2 + 1);