Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 1997 02:28:04 -0800 (PST)
From:      KATO Takenori <kato>
To:        CVS-committers, cvs-all, cvs-sys
Subject:   cvs commit:  src/sys/i386/isa wdreg.h
Message-ID:  <199701041028.CAA10590@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
kato        97/01/04 02:28:04

  Modified:    sys/i386/isa  wdreg.h
  Log:
  Change types of wdp_cylinders, wdp_heads and wdp_sectors in struct
  wdparams from short into u_short.  If wdp_cylinders is short, it
  overflows and cause serious sign extension bug when large IDE HDD is
  used.  These members are only used for initialization of u_long
  variables in both 3.0-current and RELENG_2_2 branch.
  
  I believe this should be in 2.2.
  
  Reviewed by:	Bruce Evans <bde@zeta.org.au>
  
  Revision  Changes    Path
  1.15      +4 -4      src/sys/i386/isa/wdreg.h



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