mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
This reverts commit f1c889a4e6
.
This commit is contained in:
parent
4291e28a93
commit
fa47dbb57a
@ -113,10 +113,6 @@ bool dom_sid_parse(const char *sidstr, struct dom_sid *ret)
|
||||
if (sidstr[i] == '-') num_sub_auths++;
|
||||
}
|
||||
|
||||
if (num_sub_auths > ARRAY_SIZE(ret->sub_auths)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ret->sid_rev_num = rev;
|
||||
ret->id_auth[0] = 0;
|
||||
ret->id_auth[1] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user