http-backend: Fix access beyond end of string.
authorTarmigan Casebolt <tarmigan+git@gmail.com>
Sat, 14 Nov 2009 21:10:57 +0000 (13:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Nov 2009 06:14:51 +0000 (22:14 -0800)
commit48aec1b1f14578ac7560c8be40890ebf52c91d78
tree6dc21f2786a198df8018550756d8018940d72e8d
parent4a5328d644b67be7fae1ff360e142d5dee4e63e9
http-backend: Fix access beyond end of string.

Found with valgrind while looking for Content-Length corruption in
smart http.

Signed-off-by: Tarmigan Casebolt <tarmigan+git@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-backend.c