This makes memcpy having undefined behavior when memory overlaps,
while memmove (previously aliased) used to be safer in this regard.
Hopefully UBSAN will catch this kind of issues.
Depends on D6342.
Differential D6352
Remove memcpy compatibility for glibc < 2.14 Fabien on Jun 3 2020, 21:10. Authored by Tags None Subscribers None
Details
This makes memcpy having undefined behavior when memory overlaps, Depends on D6342. ninja all check-all make check Run the Gitian builds. Run the tests with UBSAN.
Diff Detail
|