[SMB2] buffer handling

Stefan (metze) Metzmacher metze at samba.org
Fri Feb 15 13:37:31 GMT 2008


>  	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...

metze

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080215/05b9e68b/signature.bin


More information about the samba-technical mailing list