svn commit: samba r12016 - in branches/SAMBA_4_0/source/librpc/ndr:
.
tridge at samba.org
tridge at samba.org
Fri Dec 2 11:33:19 GMT 2005
Author: tridge
Date: 2005-12-02 11:33:19 +0000 (Fri, 02 Dec 2005)
New Revision: 12016
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12016
Log:
fixed a valgrind error
Modified:
branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c
===================================================================
--- branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c 2005-12-02 10:26:29 UTC (rev 12015)
+++ branches/SAMBA_4_0/source/librpc/ndr/ndr_basic.c 2005-12-02 11:33:19 UTC (rev 12016)
@@ -132,7 +132,7 @@
{
NTSTATUS status;
status = ndr_pull_uint32(ndr, NDR_SCALARS, v);
- if (*v != 0) {
+ if (NT_STATUS_IS_OK(status) && *v != 0) {
ndr->ptr_count++;
}
return status;
More information about the samba-cvs
mailing list