diff options
author | René Scharfe <l.s.r@web.de> | 2017-09-23 20:04:40 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-24 10:29:19 +0900 |
commit | c8cf423eab6f260128859dfec991c36c54a3551c (patch) | |
tree | 94122cc0c602f5a6159d3ec3f9734f1733fa9542 /diff-lib.c | |
parent | 0bfff8146f8c055fd95af4567286929ba8216fa7 (diff) | |
download | git-rs/mailinfo-qp-decode-fix.tar.gz |
mailinfo: don't decode invalid =XY quoted-printable sequencesrs/mailinfo-qp-decode-fix
Decode =XY in quoted-printable segments only if X and Y are hexadecimal
digits, otherwise just copy them. That's at least better than
interpreting negative results from hexval() as a character.
Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diff-lib.c')
0 files changed, 0 insertions, 0 deletions