mpz_gcdext bug in mini-gmp
tg at gmplib.org
Mon Mar 23 12:11:34 UTC 2020
nisse at lysator.liu.se (Niels Möller) writes:
Never access internal fields of mpz_t directly. If for any reason (this
example has no good reason, as far as I see) one needs to use a limb
array as input, use mpz_roinit_n.
I reacted about using Apple's infamous clang being used, but then I
hadn't understood that the reporter had played with GMP's internal
fields, setting up broken variable states.
Let's not spend time on this until we get a self-contained bug reports
as defined in the manual, which contains a well-defined test case.
Please encrypt, key id 0xC8601622
More information about the gmp-bugs