Found another segv running SAMBA_3_0_RELEASE on Solaris.....
Jeremy Allison
jra at samba.org
Fri Jan 27 17:17:05 GMT 2006
On Fri, Jan 27, 2006 at 09:04:49AM -0800, Jeremy Allison wrote:
>
> The problem is actually here in locking/locking.c :
>
> 457 lck->share_modes = talloc_memdup(lck, dbuf.dptr+sizeof(*data),
> 458 lck->num_share_modes *
> 459 sizeof(struct share_mode_entry));
>
> Rather than a memdup this needs to be a talloc, then a copy-out.
> I'll look at fixing it.
Hmmm. Ok, that might be wrong... I'll think about this some more.
Jeremy.
More information about the samba-technical
mailing list