From owner-cvs-sys Sat Jan 4 02:28:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA10597 for cvs-sys-outgoing; Sat, 4 Jan 1997 02:28:06 -0800 (PST) Received: (from kato@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id CAA10590; Sat, 4 Jan 1997 02:28:04 -0800 (PST) Date: Sat, 4 Jan 1997 02:28:04 -0800 (PST) From: KATO Takenori Message-Id: <199701041028.CAA10590@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa wdreg.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 Revision Changes Path 1.15 +4 -4 src/sys/i386/isa/wdreg.h