Use after talloc_free...

Volker Lendecke Volker.Lendecke at SerNet.DE
Thu Nov 12 00:06:40 MST 2009


On Thu, Nov 12, 2009 at 12:05:19PM +1030, Rusty Russell wrote:
> To be clear: I *don't* want magic NULL-ing. If you want to NULL a pointer
> because you're going to re-use it, I'd much rather that be explicit.  I want
> an instant way to detect use-after-free, whether it be double-free or other
> cases where NULL would be treated as special and mask the bug.

Wait a second -- you want to use a point *after* you called
talloc_free on it?

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091112/5b0afa4a/attachment.pgp>


More information about the samba-technical mailing list