From owner-cvs-all Mon Nov 29 11:23:43 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 1EFB2153D3; Mon, 29 Nov 1999 11:23:36 -0800 (PST) (envelope-from dan@FreeBSD.org) Received: (from dan@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA38318; Mon, 29 Nov 1999 11:23:36 -0800 (PST) (envelope-from dan@FreeBSD.org) Message-Id: <199911291923.LAA38318@freefall.freebsd.org> From: Dan Moschuk Date: Mon, 29 Nov 1999 11:23:36 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/libkern arc4random.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dan 1999/11/29 11:23:36 PST Modified files: sys/libkern arc4random.c Log: In the extremely miniscule chance that read_random returns <= 0, don't try and use that return code as a modulus (panics are bad, mmmkay?) Revision Changes Path 1.3 +7 -3 src/sys/libkern/arc4random.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message