[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-30 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: My mistake for responding to the wrong issue. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: I am not sure which 2nd PR are we talking about here? The reported exception stems from Lib/email/feedparser.py#L323 and same is fixed in PR (https://github.com/python/cpython/pull/13598) for bpo-30835. -- ___ Pytho

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-30 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR for bpo-30835 changes code in a different source file. I suggest adopting both PRs so that future changes don't accidentally reintroduce either bug. -- ___ Python tracker

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-30 Thread Abhilash Raj
Abhilash Raj added the comment: This is a dupe of https://bugs.python.org/issue30835, which has an attached PR. I have verified the provided test case is fixed by the PR for bpo-30835. -- nosy: +maxking ___ Python tracker

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-28 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +Jeffrey.Kintscher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-14 Thread Mark Sapiro
Mark Sapiro added the comment: I do intend to submit a PR. I haven't yet worked it out though. -- ___ Python tracker ___ ___ Python

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-14 Thread R. David Murray
R. David Murray added the comment: Not a security issue, no. This isn't C where a stack overflow can give an attacker a vector for injecting arbitrary code. Per the Parser contract ("raise no exceptions, only register defects"), this should, as you say, register a defect (email.errors.Inva

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-14 Thread SilentGhost
Change by SilentGhost : -- stage: -> needs patch versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bu

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Mark, Do you want to submit a PR for this issue? -- nosy: +matrixise ___ Python tracker ___ _

[issue36910] Certain Malformed email causes email.parser to throw AttributeError

2019-05-13 Thread Mark Sapiro
New submission from Mark Sapiro : The code in the attached parse_bug.py file when run with Python 3.5, 3.6 or 3.7 throws AttributeError with this traceback: ``` Traceback (most recent call last): File "parse_bug.py", line 9, in """) File "/usr/local/lib/python3.7/email/parser.py", lin