mirror of https://git.musl-libc.org/git/musl
Browse Source
Commit d9bdfd164 ("fix memccpy to not access buffer past given size")
correctly added a check for 'n' nonzero, but made the pre-existing test
'*s==c' redundant: n!=0 implies *s==c. Remove the unnecessary check.
Reported by Alexey Izbyshev.
master
committed by
Rich Felker
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue