Message270806
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:10 | martin.panter | set | recipients:
+ martin.panter |
2016-07-19 02:57:10 | martin.panter | set | messageid: <1468897030.77.0.552858173381.issue27570@psf.upfronthosting.co.za> |
2016-07-19 02:57:10 | martin.panter | link | issue27570 messages |
2016-07-19 02:57:10 | martin.panter | create | |
|