libcli/security Use sid_append_rid() in dom_sid_append_rid()
authorAndrew Bartlett <abartlet@samba.org>
Sat, 4 Sep 2010 04:10:31 +0000 (14:10 +1000)
committerJeremy Allison <jra@samba.org>
Tue, 14 Sep 2010 21:48:49 +0000 (14:48 -0700)
commit46f585e364fc1640cf01ba0c738c6c5559f0b4fd
tree0e4f9de2bcaf765e3b4e221f31d38cadba4b2c7a
parent51ecf796549287b7f10092778ffb52e018ae32fe
libcli/security Use sid_append_rid() in dom_sid_append_rid()

This ensures that the maximum number of sub-authorities is respected,
otherwise we may run off the end of the array.

Andrew Bartlett
libcli/security/dom_sid.c