From owner-cvs-all Fri Nov 9 15:58:13 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 7449F37B417; Fri, 9 Nov 2001 15:58:07 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA9Nw7R75106; Fri, 9 Nov 2001 15:58:07 -0800 (PST) (envelope-from iedowse) Message-Id: <200111092358.fA9Nw7R75106@freefall.freebsd.org> From: Ian Dowse Date: Fri, 9 Nov 2001 15:58:07 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_prf.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/11/09 15:58:07 PST Modified files: sys/kern subr_prf.c Log: Properly sanity-check the old msgbuf structure before we accept it as being valid. Previously only the magic number and the virtual address were checked, but it makes little sense to require that the virtual address is the same (the message buffer is located at the end of physical memory), and checks on the msg_bufx and msg_bufr indices were missing. Submitted by: Bodo Rueskamp Tripped over during a kernel debugging tutorial given by: grog Reviewed by: grog, dwmalone MFC after: 1 week Revision Changes Path 1.73 +7 -4 src/sys/kern/subr_prf.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message