https://bugs.kde.org/show_bug.cgi?id=466104

--- Comment #1 from Paul Floyd <pjfl...@wanadoo.fr> ---
One other potential inconsistency is the minimum size of an allocation.
VG_MIN_MALLOC_SZB is 16 on most 64bit platforms and 8 on most 32bit platforms.
I don't think that causes problems but there ought to be a comment in the code.

memcheck/tests/memalign2.c does a lot of tests like

p = memalign(1, 100);      assert(0 == (long)p % 8);

These tests pass even when the allocation fails (since NULL % 8 is 0. I'll
update them to also check that p is not NULL

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to