bug#79805: possible missing null check in tostring()

Paul Eggert <[email protected]> Sun, 9 Nov 2025 22:29:33 -0800
Newsgroups gmane.comp.gnu.core-utils.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2025-11-09 04:42, Ray steven wrote:
> If memory allocation fails, mpz_get_str() may
> return NULL.

I don't see how. When GMP functions exhaust memory, they exit; they 
don't return a null pointer.