svn commit: samba r2396 - in branches/SAMBA_3_0/source/rpc_parse: .
jra at samba.org
jra at samba.org
Fri Sep 17 21:20:33 GMT 2004
Author: jra
Date: 2004-09-17 21:20:32 +0000 (Fri, 17 Sep 2004)
New Revision: 2396
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_3_0/source/rpc_parse&rev=2396&nolog=1
Log:
Fix bug found by Cornelio Bondad Jr <Corny.Bondad at hp.com>.
To correct ?\226?\128?\156net rpc vampire?\226?\128?\157 core dump.
Jeremy.
Modified:
branches/SAMBA_3_0/source/rpc_parse/parse_net.c
Changeset:
Modified: branches/SAMBA_3_0/source/rpc_parse/parse_net.c
===================================================================
--- branches/SAMBA_3_0/source/rpc_parse/parse_net.c 2004-09-17 19:58:27 UTC (rev 2395)
+++ branches/SAMBA_3_0/source/rpc_parse/parse_net.c 2004-09-17 21:20:32 UTC (rev 2396)
@@ -2399,11 +2399,9 @@
info->hdr_sec_desc.buffer, ps, depth))
return False;
- if (info->hdr_als_desc.buffer != 0) {
- if (!smb_io_unistr2("uni_als_desc", &info->uni_als_desc,
- info->hdr_als_name.buffer, ps, depth))
- return False;
- }
+ if (!smb_io_unistr2("uni_als_desc", &info->uni_als_desc,
+ info->hdr_als_desc.buffer, ps, depth))
+ return False;
return True;
}
More information about the samba-cvs
mailing list