am 26c815c4: Merge "Drop magic number in strrchr and strchr"
* commit '26c815c489197259e3692d4a1e35463989f7c7a3': Drop magic number in strrchr and strchr
This commit is contained in:
commit
a596aa6abf
@ -47,5 +47,5 @@ __strchr_chk(const char *p, int ch, size_t s_len)
|
||||
|
||||
char *
|
||||
strchr(const char *p, int ch) {
|
||||
return __strchr_chk(p, ch, (size_t) -1);
|
||||
return __strchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
||||
}
|
||||
|
@ -50,5 +50,5 @@ __strrchr_chk(const char *p, int ch, size_t s_len)
|
||||
char *
|
||||
strrchr(const char *p, int ch)
|
||||
{
|
||||
return __strrchr_chk(p, ch, (size_t) -1);
|
||||
return __strrchr_chk(p, ch, __BIONIC_FORTIFY_UNKNOWN_SIZE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user