]> Sergey Matveev's repositories - public-inbox.git/commit
t/import: test for nasty characters
authorEric Wong <e@yhbt.net>
Sat, 4 Jul 2020 20:25:25 +0000 (20:25 +0000)
committerEric Wong <e@yhbt.net>
Sun, 5 Jul 2020 21:45:28 +0000 (21:45 +0000)
commit243aa230479edbf58af7bc349df2fde87577f64c
treea58a07b1ba353f6946da98509fc08673eb85a1c8
parentd75cbb9b69a780b6bbc37e243ada35dfd0c47552
t/import: test for nasty characters

Spammers may send emails with nasty characters which can throw
off git-fast-import.  Users with non-existent or weaker spam
filters may be susceptible to corruption in the fast-import
stream as a result.

This was actually quietly fixed in git on 2020-06-01 by
commit 9ab886546cc89f37819e1ef09cb49fd9325b3a41
("smsg: introduce ->populate method"), but no test case
was created.

Reported-by: Eric W. Biederman <ebiederm@xmission.com>
Link: https://public-inbox.org/meta/87imf4qn87.fsf@x220.int.ebiederm.org/
Link: https://public-inbox.org/meta/20200601100657.14700-6-e@yhbt.net/
t/import.t