Possible null pointer refrence in v3-0-test and v3-2-test

Volker Lendecke Volker.Lendecke at SerNet.DE
Tue Jun 3 04:38:08 GMT 2008

On Mon, Jun 02, 2008 at 10:04:35PM -0600, Bo Yang wrote:
> I first encounter the problem when using usershare configuration.
> When samba is running, I use net usershare add to add a
> share and then modify the acl of the share.
> Then I access the share from windows XP, null pointers
> appeared in talloc_strndup() and str_checksum(), which
> causes windows XP lost connection to samba....ie, child
> smbd crashed.
> With the patch applied, windows XP didn't lose connection
> any more.
> I didn't look closely at the process of loading user
> shares.
> But from the user experience, I think the patch is
> necessary.
> Thanks!

Can you run the programs under valgrind and see which
callers call the routines with NULL? We need to fix the


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20080603/13dc2c28/attachment.bin

More information about the samba-technical mailing list