Subject: msdosfs mount bug
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Frank van der Linden <vdlinden@fwi.uva.nl>
List: netbsd-bugs
Date: 01/20/1994 00:50:17
Hi,
A failed attempt to mount an MSDOS filesystem (in -current, but
I think it was the same in 0.9) leads to a panic. It turns
out to be a simple non-initialized variable, which is used
as an argument to free() in some cases. Diff to -current follows:
*** msdosfs_vfsops.c.org Mon Dec 20 02:36:00 1993
--- msdosfs_vfsops.c Tue Jan 18 22:23:18 1994
***************
*** 184,188 ****
dev_t dev = devvp->v_rdev;
union bootsector *bsp;
! struct msdosfsmount *pmp;
struct buf *bp0 = NULL;
struct byte_bpb33 *b33;
--- 184,188 ----
dev_t dev = devvp->v_rdev;
union bootsector *bsp;
! struct msdosfsmount *pmp = NULL;
struct buf *bp0 = NULL;
struct byte_bpb33 *b33;
- Frank
------------------------------------------------------------------------------