diff options
author | Rene Scharfe <rene.scharfe@lsrfire.ath.cx> | 2006-08-10 17:02:32 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-08-10 14:14:27 -0700 |
commit | ae9c86f2b6c89a3a0991209dae51086f884959c0 (patch) | |
tree | 8ad2da20f1e1e64556a0d4a6d551cfbf08bfc3d7 /imap-send.c | |
parent | 6f05b57da8e82c471ea6765da67e813d496ed278 (diff) | |
download | git-ae9c86f2b6c89a3a0991209dae51086f884959c0.tar.gz git-ae9c86f2b6c89a3a0991209dae51086f884959c0.tar.xz |
git-verify-pack: more careful path handling
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>
Diffstat (limited to 'imap-send.c')
0 files changed, 0 insertions, 0 deletions