FW: [PATCH] Stop use after free (try 2)

Jeremy Allison jra at samba.org
Fri Sep 27 04:41:50 MDT 2013


On Fri, Sep 27, 2013 at 07:49:55PM +1000, Alistair Leslie-Hughes wrote:
> On 27/09/2013 6:55 PM, Jeremy Allison wrote:
> >>  			reply_code = "AF";
> >>-			reply_arg = session_info->unix_info->unix_name;
> >>+			reply_arg = talloc_strdup(state->gensec_state, session_info->unix_info->unix_name);
> >>  			talloc_free(session_info);
> >>  		}
> >>  	} else if (state->gensec_state->gensec_role == GENSEC_CLIENT) {
> >>--
> Attached.

Pushed to autobuild - thanks !

Jeremy.


More information about the samba-technical mailing list