Date: Sat, 9 Dec 1995 23:42:36 -0500 (EST) From: "Marc G. Fournier" <scrappy@hub.org> To: current@freebsd.org Subject: Erk...another? DEVFS bug Message-ID: <Pine.BSF.3.91.951209234108.14962B-100000@hub.org>
next in thread | raw e-mail | index | archive | help
Hi...
Last few I set 'name' as being 8characters, but some of the
sprintf's in st.c seem to have the potential of excceeding that.
I saw a few commits (by Bruce?) that were defining name as 32, so
have used that here.
*** scsi/st.c.orig Sat Dec 9 23:39:54 1995
--- scsi/st.c Sat Dec 9 23:40:37 1995
***************
*** 347,352 ****
--- 347,355 ----
st_registerdev(int unit)
{
struct kern_devconf *kdc;
+ #ifdef DEVFS
+ char name[32];
+ #endif
MALLOC(kdc, struct kern_devconf *, sizeof *kdc, M_TEMP, M_NOWAIT);
if(!kdc) return;
Marc G. Fournier | POP Mail Telnet Acct DNS Hosting
scrappy@hub.org | WWW Services Database Services | Knowledge,
soon to be: | | Information and
scrappy@ki.net | WWW: http://hub.org | Communications, Inc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951209234108.14962B-100000>
