summaryrefslogtreecommitdiff
path: root/write_or_die.c
diff options
context:
space:
mode:
authorImre Deak <imre.deak@gmail.com>2010-03-20 02:23:58 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-03-20 15:49:31 (GMT)
commite9bd32351078d1f664a1608763a92ab402b255f0 (patch)
treed3637d1ef8dae320fc9197203475708c51666147 /write_or_die.c
parentc40d92e4c73b44d9cb4c3ba3a0ab53464964369c (diff)
downloadgit-e9bd32351078d1f664a1608763a92ab402b255f0.zip
git-e9bd32351078d1f664a1608763a92ab402b255f0.tar.gz
git-e9bd32351078d1f664a1608763a92ab402b255f0.tar.bz2
daemon: parse_host_and_port SIGSEGV if port is specified
This typo will lead to git-daemon dying any time the connect string includes a port after the host= attribute. This can lead for example to one of the following error messages on the client side when someone tries git clone git://...:<port>. When the daemon is running on localhost: fatal: The remote end hung up unexpectedly or when the daemon is connected through an ssh tunnel: fatal: protocol error: bad line length character: erro In the latter case 'erro' comes from the daemon's reply: error: git-daemon died of signal 11 Signed-off-by: Imre Deak <imre.deak@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'write_or_die.c')
0 files changed, 0 insertions, 0 deletions