NetBSD-Bugs archive

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

PR/43192 CVS commit: src/games/factor



The following reply was made to PR misc/43192; it has been noted by GNATS.

From: Matthias Drochner <drochner%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/43192 CVS commit: src/games/factor
Date: Thu, 22 Apr 2010 14:28:48 +0000

 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