]> git.ipfire.org Git - thirdparty/samba.git/commit
util:charset:codepoints: condepoint_cmpi uses NUMERIC_CMP()
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 3 Apr 2024 02:53:29 +0000 (15:53 +1300)
committerJule Anger <janger@samba.org>
Mon, 10 Jun 2024 13:25:16 +0000 (13:25 +0000)
commit120479e4e02cecf047d969f1209398e02f69ec1f
tree2dae589434d9c7b8317aa9fdff2ab5ed01561ded
parent388b11b6dc1218165900cd098fb525a2f059a687
util:charset:codepoints: condepoint_cmpi uses NUMERIC_CMP()

If these are truly unicode codepoints (< ~2m) there is no overflow,
but the type is defined as uint32_t.

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>
(cherry picked from commit 675fdeee3d6570fdf5a055890dc3386a8db5fd88)
lib/util/charset/codepoints.c