]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/vreport-sanitize'
authorJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:14:56 +0000 (13:14 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 Jan 2017 21:14:56 +0000 (13:14 -0800)
An error message with an ASCII control character like '\r' in it
can alter the message to hide its early part, which is problematic
when a remote side gives such an error message that the local side
will relay with a "remote: " prefix.

* jk/vreport-sanitize:
  vreport: sanitize ASCII control chars
  Revert "vreportf: avoid intermediate buffer"

1  2 
usage.c

diff --cc usage.c
Simple merge