This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kamil Frankowicz
Recipients Kamil Frankowicz
Date 2017-03-06.08:13:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488788024.7.0.161413972339.issue29732@psf.upfronthosting.co.za>
In-reply-to
Content
After some fuzz testing I found a crashing test case.

Version: 2.7.13 compiled from source with Clang 3.9.1.

To reproduce: python python_hoobr_tok_nextc.py

Extract from Valgrind log (full log file at https://gist.github.com/fumfel/f9780e567dec761f8524523fff040742):

==15583== Process terminating with default action of signal 11 (SIGSEGV)
==15583==  Bad permissions for mapped region at address 0x5F36000
==15583==    at 0x41EBC4: tok_nextc (tokenizer.c:861)
==15583==    by 0x41ABA2: tok_get (tokenizer.c:1568)
==15583==    by 0x41ABA2: PyTokenizer_Get (tokenizer.c:1681)
==15583==    by 0x4171D4: parsetok (parsetok.c:159)
==15583==    by 0x417DC0: PyParser_ParseFileFlagsEx (parsetok.c:106)
==15583==    by 0x5C4A1D: PyParser_ASTFromFile (pythonrun.c:1499)
==15583==    by 0x5C4C28: PyRun_FileExFlags (pythonrun.c:1354)
==15583==    by 0x5C4009: PyRun_SimpleFileExFlags (pythonrun.c:948)
==15583==    by 0x5C34AA: PyRun_AnyFileExFlags (pythonrun.c:752)
==15583==    by 0x416478: Py_Main (main.c:640)
==15583==    by 0x578782F: (below main) (libc-start.c:291)
History
Date User Action Args
2017-03-06 08:13:44Kamil Frankowiczsetrecipients: + Kamil Frankowicz
2017-03-06 08:13:44Kamil Frankowiczsetmessageid: <1488788024.7.0.161413972339.issue29732@psf.upfronthosting.co.za>
2017-03-06 08:13:44Kamil Frankowiczlinkissue29732 messages
2017-03-06 08:13:43Kamil Frankowiczcreate