[PATCH 0/3] Fuzz fixes, take 2
Daniel Axtens
dja at axtens.net
Sat Jul 1 14:28:41 AEST 2017
As promised, a revised version of the early fail fixup, and
a patch and tests for emails and names > 255 chars.
Regards,
Daniel
Daniel Axtens (3):
parse(mail|archive): handle early fail within email module
parser: limit emails and names to 255 chars
tests for email and name length
patchwork/management/commands/parsearchive.py | 15 +++++++++++++
patchwork/management/commands/parsemail.py | 31 +++++++++++++++-----------
patchwork/parser.py | 4 ++--
patchwork/tests/fuzztests/email-len.mbox | Bin 0 -> 925 bytes
patchwork/tests/fuzztests/name-len.mbox | Bin 0 -> 35351 bytes
patchwork/tests/test_parser.py | 4 +++-
6 files changed, 38 insertions(+), 16 deletions(-)
create mode 100644 patchwork/tests/fuzztests/email-len.mbox
create mode 100644 patchwork/tests/fuzztests/name-len.mbox
--
2.11.0
More information about the Patchwork
mailing list