aboutsummaryrefslogtreecommitdiff
path: root/arm
diff options
context:
space:
mode:
authorChristian Couder <chriscool@tuxfamily.org>2006-09-11 07:04:50 +0200
committerJunio C Hamano <junkio@cox.net>2006-09-10 22:48:11 -0700
commit0f503d77ac9032fbfbd5f3bacafeccbcf408b31f (patch)
tree7428786361776611ed66c194181f95ea0e41967b /arm
parent86257aa324d04694408ad806989690979456f29a (diff)
downloadgit-0f503d77ac9032fbfbd5f3bacafeccbcf408b31f.tar.gz
git-0f503d77ac9032fbfbd5f3bacafeccbcf408b31f.tar.xz
Fix a memory leak in "connect.c" and die if command too long.
Use "add_to_string" instead of "sq_quote" and "snprintf", so that there is no memory allocation and no memory leak. Also check if the command is too long to fit into the buffer and die if this is the case, instead of truncating it to the buffer size. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'arm')
0 files changed, 0 insertions, 0 deletions