unavoidable abort in mpz/realloc.c

Torbjorn Granlund tg at gmplib.org
Wed Mar 16 09:13:46 CET 2011

This is not what I would call a bug report.

You sent us a strange patch, and several developera took time to explain
the problems and pose some questions (which went unanswered).

Then you claimed there were spurious calls to realloc, even when the
user had replaced the GMP allocators.  You were asked to report this as
GMP bug.

OK, so now you vaguely claim, as a bug report, that GMP's check for mpz
type overflow is bad, and--if I understand you correctly--that we should
fall into the allocation function with a size we cannot represent.

You should show us enough respect that you read our replies carefully,
and also read the relevant parts of the GMP sources carefully.  You
should also be aware of inherent limitations in this area of teh C


More information about the gmp-bugs mailing list