mirror of https://git.musl-libc.org/git/musl
Browse Source
one of the arguments to memcmp may be shorter than the length l-3, and memcmp is under no obligation not to access past the first byte that differs. instead use strncmp which conveys the correct semantics. the performance difference is negligible here and since the code is only use for shared libc, both functions are already linked anyway.rs-1.0
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue