svn commit: samba r11871 - in branches/SAMBA_4_0/source/librpc/rpc: .

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Nov 23 07:06:39 GMT 2005


On Wed, Nov 23, 2005 at 12:51:25AM +0000, tridge at samba.org wrote:
> fixed a problem volker found with the async bind code, and a callback
> destroying the dcerpc pipe
> 
> Modified:
>    branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
> 
> 
> Changeset:
> Modified: branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c
> ===================================================================
> --- branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-23 00:30:58 UTC (rev 11870)
> +++ branches/SAMBA_4_0/source/librpc/rpc/dcerpc.c	2005-11-23 00:51:24 UTC (rev 11871)
> @@ -568,10 +568,12 @@
>  	case DCERPC_PKT_BIND_ACK:
>  	case DCERPC_PKT_BIND_NAK:
>  		dcerpc_bind_recv_data(conn, &pkt);
> +		data_blob_free(blob);
>  		break;

Is that one correct? I mean, it is quite likely that on a NAK the pipe is
destroyed as well in the callback.

Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20051123/4372851a/attachment.bin


More information about the samba-technical mailing list