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 gregory.p.smith
Recipients gregory.p.smith, serhiy.storchaka
Date 2018-11-08.21:08:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1541711315.03.0.788709270274.issue35193@psf.upfronthosting.co.za>
In-reply-to
Content
An off by one error was introduced to peephole.c by the "off by one error fix" in https://bugs.python.org/issue28517.  Clang's memory sanitizer detects it (msan).

find_op is ultimately called with h == codelen so it accesses one byte out of bounds.

I have a fix, PR coming.
History
Date User Action Args
2018-11-08 21:08:35gregory.p.smithsetrecipients: + gregory.p.smith, serhiy.storchaka
2018-11-08 21:08:35gregory.p.smithsetmessageid: <1541711315.03.0.788709270274.issue35193@psf.upfronthosting.co.za>
2018-11-08 21:08:34gregory.p.smithlinkissue35193 messages
2018-11-08 21:08:34gregory.p.smithcreate