mirror of
https://github.com/samba-team/samba.git
synced 2025-07-31 20:22:15 +03:00
r2396: Fix bug found by Cornelio Bondad Jr <Corny.Bondad@hp.com>.
To correct “net rpc vampire” core dump. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
9a6e331639
commit
cd910ffc51
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user