Date: Sat, 4 Aug 2001 19:31:57 +0200 From: Dimitry Andric <dim@xs4all.nl> To: Boris Popov <bp@butya.kz> Cc: Tim Zingelman <zingelman@fnal.gov>, James Satterfield <jsatterfield@intertrust.com>, FreeBSD Stable List <stable@freebsd.org> Subject: Re[2]: SMBFS panic: malloc: wrong bucket (was: 4.3-20010721-STABLE) Message-ID: <3929771388.20010804193157@xs4all.nl> In-Reply-To: <Pine.BSF.4.21.0108032156380.47860-200000@lion.butya.kz> References: <Pine.BSF.4.21.0108032156380.47860-200000@lion.butya.kz>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2001-08-03 at 17:04:37 Boris Popov wrote: BP> Please try the attached patch. It fixes a nasty buffer overflow BP> which may cause this panic. Okay, this patch seems to solve the panic problem for me. On the previously crashing box, I cvsup'd today (to 4.4-PRERELEASE) and rebuilt everything, including the kernel with your patch, and the smbfs-1.4.1 port. Since then, I haven't been able to get it to crash anymore. :) (Keeping my fingers crossed.) I have some other remarks, though, if you don't mind: 1. When I mount_smbfs(8) a share, the mountpoint is owned by root:wheel and mode 755 by default. However, as a normal user I can _create_ files in this mountpoint, but not delete them! I would suppose that a normal user doesn't have write access with mode 755? 2. I searched for an answer to this phenomenon in the mount_smbfs(8) manpage, and it says with the -M option: "Assign access rights to the newly created connection. See nsmb(8) for theory." However, there's no nsmb(8) manpage to be found anywhere, at least not on a freshly rebuilt system. Maybe this manpage was left out while integrating smbfs into the main kernel sources? Cheers, - -- Dimitry Andric <dim@xs4all.nl> PGP Key: http://www.xs4all.nl/~dim/dim.asc Fingerprint: 7AB462D2CE35FC6D42394FCDB05EA30A2E2096A3 -----BEGIN PGP SIGNATURE----- Version: PGP 6.5i Comment: http://www.gn.apc.org/duncan/stoa_cover.htm iQA/AwUBO2wjgrBeowouIJajEQLtXwCg16tS7WhijvzFke/TkP33JDArXeMAoIgz FFhftYgBLJGr3IW4shs3H3Q0 =2Swi -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3929771388.20010804193157>