summaryrefslogtreecommitdiffstats
path: root/Modules/_elementtree.c
diff options
context:
space:
mode:
authorAshwin Ramaswami <aramaswamis@gmail.com>2019-08-31 15:25:35 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-08-31 15:25:35 (GMT)
commitc5b242f87f31286ad38991bc3868cf4cfbf2b681 (patch)
tree80f7659bec45074eb85998dfc041c0e1176b5dcc /Modules/_elementtree.c
parentdaa82d019c52e95c3c57275307918078c1c0ac81 (diff)
downloadcpython-c5b242f87f31286ad38991bc3868cf4cfbf2b681.zip
cpython-c5b242f87f31286ad38991bc3868cf4cfbf2b681.tar.gz
cpython-c5b242f87f31286ad38991bc3868cf4cfbf2b681.tar.bz2
bpo-37764: Fix infinite loop when parsing unstructured email headers. (GH-15239)
Fixes a case in which email._header_value_parser.get_unstructured hangs the system for some invalid headers. This covers the cases in which the header contains either: - a case without trailing whitespace - an invalid encoded word https://bugs.python.org/issue37764 This fix should also be backported to 3.7 and 3.8 https://bugs.python.org/issue37764
Diffstat (limited to 'Modules/_elementtree.c')
0 files changed, 0 insertions, 0 deletions