Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 1996 15:05:05 +1000
From:      Stephen Hocking <sysseh@devetir.qld.gov.au>
To:        bugs@freebsd.org
Subject:   Re: kern/951: DEVFS panic with SCSI tape (fix found!)
Message-ID:  <199601190505.FAA23894@netfl15a.devetir.qld.gov.au>

next in thread | raw e-mail | index | archive | help
I've found a fix for this - the DEVFS code was overrunning a buffer in st.c, 
causing it to do strange & terrible things to other stuff on the stack. To 
fix, change line 276 of /sys/scsi/st.c to be

	static char name[128];

It all works now, can someone commit a change (and probably review the 
buffersize for this stuff that DEVFS uses? I see some other errors (nothing 
fatal) on another relating to the psm0 device abouth not being able to 
allocate a name slot.)


	Stephen
-- 

        I do not speak for the Worker's Compensation Board of Queensland -
                     They don't pay me enough for that!





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