[SMB2] buffer handling

tridge at samba.org tridge at samba.org
Fri Feb 15 20:24:08 GMT 2008


Metze,

 > >  	if (blob.length == 0) {
 > > -		char *s;
 > > -		s = talloc_strdup(mem_ctx, "");
 > > -		NT_STATUS_HAVE_NO_MEMORY(s);
 > > -		*str = s;
 > > +		*str = talloc_strdup(mem_ctx, "");
 > >  		return NT_STATUS_OK;
 > >  	}
 > 
 > please just skip this part...

yep :-)

Cheers, Tridge


More information about the samba-technical mailing list