Unittester started failing locally, the only change is that I upgraded to the newest Ubuntu OS release. Which bumped the glibc version from 2.24 to 2.26.
---
│ void* z = pureMalloc(size_t.max - 2); // won't affect `errno`
│ assert(errno == fakePureGetErrno()); // errno shouldn't change
├───> assert(z is null);
---
I've raised a bug against glibc (https://sourceware.org/bugzilla/show_bug.cgi?id=22375)
However this test should be fixed, pureMalloc(long.max-2) maybe?
Comment #1 by ibuclaw — 2017-10-31T14:41:07Z
Someone from glibc maintainers added a security flag to the upstream bug report.
This seems to be at least an acknowledgement that its an external problem.
Comment #2 by greensunny12 — 2017-12-13T09:00:59Z
I can reproduce this on my machine with glibc 2.26-8 :/