Fix an infinite loop in sq_quote_buf().
authorJohannes Sixt <redacted>
Sun, 4 Nov 2007 20:26:22 +0000 (21:26 +0100)
committerJunio C Hamano <redacted>
Sun, 4 Nov 2007 23:16:59 +0000 (15:16 -0800)
commitc2015b3ae0d52ccae33ee00c2b25b8402c66bdf0
tree89cbc34d7def468e193b431bacb07c88d305cb9a
parent140dd77a5cb2e61dcb942e245a2474fae95e42a5
Fix an infinite loop in sq_quote_buf().

sq_quote_buf() treats single-quotes and exclamation marks specially, but
it incorrectly parsed the input for single-quotes and backslashes.

Signed-off-by: Johannes Sixt <redacted>
Signed-off-by: Junio C Hamano <redacted>
quote.c
t/t5510-fetch.sh
git clone https://git.99rst.org/PROJECT