Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/factor



Module Name:    src
Committed By:   drochner
Date:           Thu Apr 22 14:28:48 UTC 2010

Modified Files:
        src/games/factor: factor.c

Log Message:
fix an obvious flaw in bounds check: the array of precomputed primes
could be overrun if its last entry (65537) was a factor of the input
(this does not affect PR misc/43192 -- the factors are much larger
here: 7742394596501*159455563099482401)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/games/factor/factor.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index