Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 15:58:07 -0800 (PST)
From:      Ian Dowse <iedowse@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_prf.c
Message-ID:  <200111092358.fA9Nw7R75106@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <br@clabsms.de>
  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111092358.fA9Nw7R75106>