access after free in master

Andrew Bartlett abartlet at samba.org
Sun Aug 7 18:50:51 MDT 2011


On Mon, 2011-08-08 at 00:02 +0400, Matthieu Patou wrote:
> Hello tridge,
> 
> I'm playing currently with the master tree of samba and I get things 
> like that:
> 
> [2011/08/07 23:59:09,  0] 
> ../source4/lib/cmdline/popt_common.c:58(popt_s4_talloc_log_fn)
>    talloc: access after free error - first free may be at 
> ../source4/smbd/service_stream.c:82
> [2011/08/07 23:59:09,  0] 
> ../source4/lib/cmdline/popt_common.c:58(popt_s4_talloc_log_fn)
>    Bad talloc magic value - access after free
> [2011/08/07 23:59:09,  0] ../lib/util/fault.c:135(smb_panic_default)
>    PANIC: Bad talloc magic value - access after free
> 
> As I switched from my tree to master tree for pseudobacklinks I'm a bit 
> nervous.
> 
> Can you have a look ?

We did add the talloc_free() in smbd/service_stream.c:82 recently, but
I'll need a full backtrace and preferably a valgrind log to determine
what the access after free is.  I can't see that detail in this log.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list