1
0
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:
Volker Lendecke 2010-01-25 16:42:49 +01:00
parent 4291e28a93
commit fa47dbb57a

View File

@ -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;