author | Frank Lichtenheld <frank@lichtenheld.de> | |
Sun, 13 May 2007 17:49:05 +0000 (19:49 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 14 May 2007 06:57:27 +0000 (23:57 -0700) | ||
commit | 460c6996e27208898d3e24897e2ea35295c1cbf1 | |
tree | 58ea0a5693f646bc20ee398e414a0c9e81ab6a9c | tree | snapshot |
parent | dfaa61bd524799d61b50bbbcee8b7972910ea41c | commit | diff |
cvsserver: Don't send mixed messages to clients
After we send I HATE YOU we should probably exit and not happily
continue with I LOVE YOU and further communication.
Most clients will probably just exit and ignore everything we
send after the I HATE YOU and it is not a security problem
either because we don't really care about the user name anyway.
But it is still the right thing to do.
[jc: with a minor fixup to its exit code...]
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Acked-by: "Martin Langhoff" <martin.langhoff@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
After we send I HATE YOU we should probably exit and not happily
continue with I LOVE YOU and further communication.
Most clients will probably just exit and ignore everything we
send after the I HATE YOU and it is not a security problem
either because we don't really care about the user name anyway.
But it is still the right thing to do.
[jc: with a minor fixup to its exit code...]
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Acked-by: "Martin Langhoff" <martin.langhoff@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-cvsserver.perl | diff | blob | history |