Re: Uninitialized memory bug found in /mpn/generic/mod_1_1.c

2023-08-31 Thread Brett Kuntz
high bit is set, pre[2] is set to its appropriate value, and it is used inside mpn_mod_1_1p(). Some commenting could be placed inside /mpn/generic/mod_1.c around lines 248 and 261, or pre[4] can be initialized to all 0's on both 248 & 261: mp_limb_t pre[4] = { 0 }; -Brett Kuntz From:

Re: Uninitialized memory bug found in /mpn/generic/mod_1_1.c

2023-08-31 Thread Brett Kuntz
each one with its couple > of functions. I concluded the same just now. -Brett Kuntz From: "marco bodrato" To: "Vincent Lefevre" Cc: "Brett Kuntz" , gmp-bugs@gmplib.org Sent: Thursday, August 31, 2023 12:33:46 PM Subject: Re: Uninitialized memory bug fo

Re: Uninitialized memory bug found in /mpn/generic/mod_1_1.c

2023-08-31 Thread Brett Kuntz
manual/Low_002dlevel-Functions -Brett Kuntz From: "Torbjörn Granlund" To: "Brett Kuntz" Cc: gmp-bugs@gmplib.org Sent: Thursday, August 31, 2023 3:40:47 AM Subject: Re: Uninitialized memory bug found in /mpn/generic/mod_1_1.c Brett Kuntz writes: Take a look at fu

Uninitialized memory bug found in /mpn/generic/mod_1_1.c

2023-08-31 Thread Brett Kuntz
thod 2) My apologies if this is not the best bug report ever. -Brett Kuntz ___ gmp-bugs mailing list gmp-bugs@gmplib.org https://gmplib.org/mailman/listinfo/gmp-bugs