Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2001 08:53:54 -0700 (PDT)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/cam cam_periph.c
Message-ID:  <200104161553.f3GFrtC17332@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




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