Browse Source
Use strlcpy() to copy the filename into a buffer and complain if it doesn't fit. Also move the path buffer into verify_one_pack(); it is used only there. Now we can const'ify the first argument of this function. Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> Signed-off-by: Junio C Hamano <junkio@cox.net>maint
Rene Scharfe
19 years ago
committed by
Junio C Hamano
1 changed files with 9 additions and 7 deletions
Loading…
Reference in new issue