Uninitialised memory detected by Valgrind after mpn_sec_tabselect on i686

Torbjörn Granlund tg at gmplib.org
Tue Jul 22 20:02:11 CEST 2025


Mike Crowe <mac at mcrowe.com> writes:

  FWIW we run the same Valgrind tests on x86_64 too, but don't see the same
  problem there. (Configured with --host=x86_64-oe-linux, using
  x86_64/sec_tabselect.asm.)

It seems that only x86/sec_tabselect.asm chose the right operand in the
problematic way.

I have a rewrite of the code, which avoids the problem.

-- 
Torbjörn
Please encrypt, key id 0xC8601622


More information about the gmp-bugs mailing list