svn commit: samba r16691 - in branches/SAMBA_4_0/source/librpc/idl:
.
metze at samba.org
metze at samba.org
Thu Jun 29 19:16:14 GMT 2006
Author: metze
Date: 2006-06-29 19:16:13 +0000 (Thu, 29 Jun 2006)
New Revision: 16691
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16691
Log:
we should only look at rdata.data.length when we're in ndr_push mode
metze
Modified:
branches/SAMBA_4_0/source/librpc/idl/nbt.idl
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/nbt.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/nbt.idl 2006-06-29 18:56:09 UTC (rev 16690)
+++ branches/SAMBA_4_0/source/librpc/idl/nbt.idl 2006-06-29 19:16:13 UTC (rev 16691)
@@ -172,7 +172,9 @@
* for WACK replies
*/
#define NBT_RES_REC_LEVEL(rr_type, rdata) (\
- (((rr_type) == NBT_QTYPE_NETBIOS) && ((rdata).data.length == 2)) \
+ (((rr_type) == NBT_QTYPE_NETBIOS) && \
+ talloc_check_name(ndr, "struct ndr_push") && \
+ ((rdata).data.length == 2)) \
? 0 : rr_type)
typedef [flag(LIBNDR_PRINT_ARRAY_HEX)] struct {
More information about the samba-cvs
mailing list