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 <>
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.
Date User Action Args
2016-07-19 02:57:10martin.pantersetrecipients: + martin.panter
2016-07-19 02:57:10martin.pantersetmessageid: <>
2016-07-19 02:57:10martin.panterlinkissue27570 messages
2016-07-19 02:57:10martin.pantercreate