summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-25 16:42:49 +0100
committerVolker Lendecke <vl@samba.org>2010-01-25 16:45:31 +0100
commitfa47dbb57ad43a97aaf03b371b0dd8addc4a5c47 (patch)
treecb0033380d67ca96cd949ca2912585a200ae1d09 /libcli
parent4291e28a938695593dd90a30d3c2e49defba3e8b (diff)
downloadsamba-fa47dbb57ad43a97aaf03b371b0dd8addc4a5c47.tar.gz
samba-fa47dbb57ad43a97aaf03b371b0dd8addc4a5c47.tar.bz2
samba-fa47dbb57ad43a97aaf03b371b0dd8addc4a5c47.zip
Revert "libcli/security: Fix a valgrind error in dom_sid_parse"
This reverts commit f1c889a4e61d6d751cbabd8014b4345b8051b97c.
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/dom_sid.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c
index 6a046cd806..9952977fa9 100644
--- a/libcli/security/dom_sid.c
+++ b/libcli/security/dom_sid.c
@@ -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;