From owner-cvs-all Mon Apr 16 8:54: 0 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1460B37B43C; Mon, 16 Apr 2001 08:53:55 -0700 (PDT) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f3GFrtC17332; Mon, 16 Apr 2001 08:53:55 -0700 (PDT) (envelope-from ken) Message-Id: <200104161553.f3GFrtC17332@freefall.freebsd.org> From: "Kenneth D. Merry" Date: Mon, 16 Apr 2001 08:53:54 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_periph.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ken 2001/04/16 08:53:54 PDT Modified files: sys/cam cam_periph.c Log: Fix an off-by-2 error in periphdriver_register(). The read side of the bcopy would go off the end of the array by two elements, which sometimes causes a panic if it happens to cross into a page that isn't mapped. Submitted by: gibbs Reviewed by: peter Revision Changes Path 1.35 +2 -2 src/sys/cam/cam_periph.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message