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 martin.panter
Recipients martin.panter
Date 2016-07-19.02:57:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1468897030.77.0.552858173381.issue27570@psf.upfronthosting.co.za>
In-reply-to
Content
This patch fixes errors reported by GCC’s undefined behaviour sanitizer about calling functions with a null pointer:

./configure CC="gcc -fsanitize=undefined"

Using Issue 22605 as a precedent, I propose to avoid calling memcpy() and memmove() for zero-length copies when there may be a null pointer.
History
Date User Action Args
2016-07-19 02:57:10martin.pantersetrecipients: + martin.panter
2016-07-19 02:57:10martin.pantersetmessageid: <1468897030.77.0.552858173381.issue27570@psf.upfronthosting.co.za>
2016-07-19 02:57:10martin.panterlinkissue27570 messages
2016-07-19 02:57:10martin.pantercreate