s3:libsmb:namequery: use NUMERIC_CMP in addr_compare
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 3 Apr 2024 03:13:07 +0000 (16:13 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Apr 2024 22:56:33 +0000 (22:56 +0000)
commit3414a894ad6640fa8e282d650b1cc5319991545f
tree44be4f915ec2b931c4477d08e9cbece40a3f5248
parent4a9d274d43b1adac113419c649bbf530d180229d
s3:libsmb:namequery: use NUMERIC_CMP in addr_compare

This one was OK, as the numbers are tightly bound, but there is no
real reason not to do it safely.

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>
source3/libsmb/namequery.c