git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6e331
)
r2396: Fix bug found by Cornelio Bondad Jr <Corny.Bondad@hp.com>.
author
Jeremy Allison
<jra@samba.org>
Fri, 17 Sep 2004 21:20:32 +0000
(21:20 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:52:42 +0000
(10:52 -0500)
To correct “net rpc vampire” core dump.
Jeremy.
source/rpc_parse/parse_net.c
patch
|
blob
|
history
diff --git
a/source/rpc_parse/parse_net.c
b/source/rpc_parse/parse_net.c
index b42b9b2a8b41cba99cca0e2924a55d29d7ba4fcc..813316177ac74e2f2a7dede2b87439ea0b7ffd7c 100644
(file)
--- a/
source/rpc_parse/parse_net.c
+++ b/
source/rpc_parse/parse_net.c
@@
-2399,11
+2399,9
@@
static BOOL net_io_sam_alias_info(const char *desc, SAM_ALIAS_INFO * info,
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;
}