projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix double-processing of DT_RELR relocations in ldso relocating itself
[musl]
/
src
/
string
/
strstr.c
diff --git
a/src/string/strstr.c
b/src/string/strstr.c
index
43a0207
..
96657bc
100644
(file)
--- a/
src/string/strstr.c
+++ b/
src/string/strstr.c
@@
-96,7
+96,7
@@
static char *twoway_strstr(const unsigned char *h, const unsigned char *n)
for (;;) {
/* Update incremental end-of-haystack pointer */
if (z-h < l) {
- /* Fast estimate for M
IN
(l,63) */
+ /* Fast estimate for M
AX
(l,63) */
size_t grow = l | 63;
const unsigned char *z2 = memchr(z, 0, grow);
if (z2) {