X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/6465356a983ac139f81d3b7913cdb548477c346c..refs/heads/master:/secure/strncpy_chk.c?ds=inline diff --git a/secure/strncpy_chk.c b/secure/strncpy_chk.c index fb2e6f0..e8f7005 100644 --- a/secure/strncpy_chk.c +++ b/secure/strncpy_chk.c @@ -41,7 +41,7 @@ __strncpy_chk (char *restrict dest, char *restrict src, if (n == len + 1) n--; - if (__builtin_expect (__chk_assert_no_overlap, 1)) + if (__builtin_expect (__chk_assert_no_overlap != 0, 1)) __chk_overlap(dest, n, src, n); return dest;