diff options
Diffstat (limited to 'payloads')
-rw-r--r-- | payloads/libpayload/libc/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/libc/string.c b/payloads/libpayload/libc/string.c index b9ecb907f6..ec6be1dfb4 100644 --- a/payloads/libpayload/libc/string.c +++ b/payloads/libpayload/libc/string.c @@ -234,7 +234,7 @@ char *strstr(const char *h, const char *n) int i; for (i = 0; i <= hn - nn; i++) - if (!strcmp(&h[i], n)) + if (!memcmp(&h[i], n, nn)) return (char *)&h[i]; return NULL; |