diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-11-03 23:42:22 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-11-13 08:14:23 -0600 |
commit | 6a2664b126bc6acccac45f7c2864df36d0624728 (patch) | |
tree | eab4d62ac107d0c28d1f4924a908e1619fef2a2b /lib/addr_map.c | |
parent | e5a0cb3eb3900038c1c554a96eb8a2ffb13c36b3 (diff) |
lib: uuid: fix uuid_str_to_bin() on 32-bit
hextoul() cannot convert a string to a 64-bit number on a 32-bit system.
Use function hextoull() instead.
Reported-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Fixes: 22c48a92cdce ("lib: uuid: supporting building as part of host tools")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Caleb Connolly <caleb.connolly@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Tested-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Diffstat (limited to 'lib/addr_map.c')
0 files changed, 0 insertions, 0 deletions