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. --- Let me also point out that the aforementioned change did not appear on this mailing list. Alexander src/string/memccpy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)