[PATCH] Stop use after free
realrichardsharpe at gmail.com
Wed Sep 25 08:22:15 MDT 2013
On Tue, Sep 24, 2013 at 11:16 PM, Alistair Leslie-Hughes
<leslie_alistair at hotmail.com> wrote:
> The reply_arg variable can be use after it has been free. This is just a
> copy from the source4 version.
> Should fix
I think you are using the wrong memory context for the
talloc_asprintf. You should use mem_ctx because the one you use could
have a much longer lifetime than you think.
More information about the samba-technical