Re: [PATCH] daemon: Skip unknown "extra arg" information
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Jun 5, 2009, 08:41 UTC
- Message-ID
- <m3iqjb6pk5.fsf@localhost.localdomain>
- In-Reply-To
- <20090605013332.GV3355@spearce.org>
"Shawn O. Pearce" <spearce@spearce.org> writes:
> Since 1.4.4.5 (49ba83fb67 "Add virtualization support to git-daemon") > git daemon enters an infinite loop and never terminates if a client > hides any extra arguments in the initial request line which is not > exactly "\0host=blah\0".
When running
$ git daemon --export-all --verbose ...
and connecting with dummy client / netcat which adds extra arguments, it doesn't look as it never terminates; it still accepts new connections.
-- Jakub Narebski Poland ShadeHawk on #git