libcli/security: use NUMERIC_CMP in dom_sid_compare_auth()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Thu, 4 Apr 2024 00:53:58 +0000 (13:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Apr 2024 22:56:33 +0000 (22:56 +0000)
commit4641a97151783c2ae825582e91b4676d66dcb713
tree178931e3c03c4fb3a7abc07e0da51ea030666682
parentcb94202c1cf990e871ee2e8e43c577a0e4b9ee6f
libcli/security: use NUMERIC_CMP in dom_sid_compare_auth()

These numbers are all 8 bit, so overflow is unlikely.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15625

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/security/dom_sid.c