From owner-freebsd-stable Sat Aug 4 10:32:11 2001 Delivered-To: freebsd-stable@freebsd.org Received: from tensor.xs4all.nl (tensor.xs4all.nl [213.84.53.200]) by hub.freebsd.org (Postfix) with ESMTP id 347E837B401 for ; Sat, 4 Aug 2001 10:32:08 -0700 (PDT) (envelope-from dim@xs4all.nl) Received: from matrix.xs4all.nl (matrix.xs4all.nl [192.168.1.2]) by tensor.xs4all.nl (Postfix) with ESMTP id 083CF3C1EA; Sat, 4 Aug 2001 19:32:06 +0200 (CEST) Date: Sat, 4 Aug 2001 19:31:57 +0200 From: Dimitry Andric X-Mailer: The Bat! (v1.54 Beta/4) Business Reply-To: Dimitry Andric X-Priority: 3 (Normal) Message-ID: <3929771388.20010804193157@xs4all.nl> To: Boris Popov Cc: Tim Zingelman , James Satterfield , FreeBSD Stable List Subject: Re[2]: SMBFS panic: malloc: wrong bucket (was: 4.3-20010721-STABLE) In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG -----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 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