]> git.ipfire.org Git - thirdparty/patchwork.git/commit
parser: limit emails and names to 255 chars
authorDaniel Axtens <dja@axtens.net>
Sat, 1 Jul 2017 04:28:43 +0000 (14:28 +1000)
committerStephen Finucane <stephen@that.guru>
Mon, 3 Jul 2017 19:44:09 +0000 (20:44 +0100)
commitbf194e2f45fd4fdc374482c478da43957a45b5d9
tree92113e280f87439bbc1aabd6b5f6e9b1a30f74c8
parentc2cfced9c8351661e943e89a26f8453a815d323a
parser: limit emails and names to 255 chars

Also picked up with afl-fuzz.

Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Stephen Finucane <stephen@that.guru>
patchwork/parser.py
patchwork/tests/fuzztests/email-len.mbox [new file with mode: 0644]
patchwork/tests/fuzztests/name-len.mbox [new file with mode: 0644]
patchwork/tests/test_parser.py