diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-25 11:53:22 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-10-25 15:09:31 +0200 |
commit | e679925bd0c8608ebe24f34917347ad939c6506d (patch) | |
tree | 9076d0ff5d251bc0a0051589796b9f81cb86b11c /src/ogAdmServer.h | |
parent | e960063a137c8fe760a40a73ccd081e457b23952 (diff) |
src: add safe_strtoull for safe string to number conversion
Add safe_strtoull to validate the execution of strtoull.
Definining the base of the number is required becase partition
codes are base 16 but they lack the 0x prefix.
Replace uses of atoi and strtoull/strtoul and log the conversion
errors.
Diffstat (limited to 'src/ogAdmServer.h')
0 files changed, 0 insertions, 0 deletions