[RFC][PATCH] malloc: Fix test for malloc_usable_size
DJ Delorie
dj@redhat.com
Mon Dec 16 20:52:00 GMT 2019
Matheus Castanho <msc@linux.ibm.com> writes:
> But I'm still puzzled by why the test on malloc/tst-malloc-usable.c does
> not consider the possibility of the return value being greater than the
> requested alloc size, as the comment on the source indicates that could
> happen.
Well, we're testing our own implementation, so we should know exactly
what to expect. We're not testing that we meet some standard, we're
testing that we do what we expect.
More information about the Libc-alpha
mailing list