mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Msieve (https://www.mersenneforum.org/forumdisplay.php?f=83)
-   -   Oops (https://www.mersenneforum.org/showthread.php?t=22743)

fivemack 2017-11-30 15:56

Oops
 
If a relations file is corrupt in such a way that it contains '1' as a putative factor, current-SVN msieve goes into an infinite loop in mp_is_prime_1.

Changing line 133 to reject p==1 fixes this

fivemack 2017-11-30 17:30

Sorry, misdiagnosis: the file has to contain a line starting '1,0:' to trigger the problem (infinite loop in mp_is_prime_1 called from gnfs/relation.c:133)

As far as I can see, with lpb=33, composite factors larger than 2^32 will not get rejected; I don't know if this has been an issue in actually existing jobs.


All times are UTC. The time now is 01:14.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.