diff options
Diffstat (limited to 'libssp/strncat-chk.c')
-rw-r--r-- | libssp/strncat-chk.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libssp/strncat-chk.c b/libssp/strncat-chk.c index d8056e8..6ab41ff 100644 --- a/libssp/strncat-chk.c +++ b/libssp/strncat-chk.c @@ -87,12 +87,6 @@ __strncat_chk (char *__restrict__ dest, const char *__restrict__ src, *++dest = c; if (c == '\0') return s; - if (slen-- == 0) - __chk_fail (); - c = *src++; - *++dest = c; - if (c == '\0') - return s; } while (--n4 > 0); n &= 3; } |