[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-37764: Fix infinite loop when parsing unstructured email headers. by epicfaace · Pull Request #15239 · python/cpython

epicfaace

maxking changed the title bpo-37764: fix hang case in get_unstructured bpo-37764: Fix infinite loop when parsing unstrucuted email headers.

Aug 31, 2019

maxking changed the title bpo-37764: Fix infinite loop when parsing unstrucuted email headers. bpo-37764: Fix infinite loop when parsing unstructured email headers.

Aug 31, 2019

epicfaace added a commit to epicfaace/cpython that referenced this pull request

Sep 3, 2019
…aders. (pythonGH-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
(cherry picked from commit c5b242f)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>

Merged

Merged

maxking pushed a commit to maxking/cpython-1 that referenced this pull request

Sep 5, 2019
…aders. (pythonGH-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
(cherry picked from commit c5b242f)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>

maxking added a commit that referenced this pull request

Sep 5, 2019
…aders. (GH-15239) (GH-15686)

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
(cherry picked from commit c5b242f)

Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020

websurfer5 pushed a commit to websurfer5/cpython that referenced this pull request

Jul 20, 2020