commit | 3d5cdfebb73e291ff2007b4e800101e73dbdb94f | [log] [tgz] |
---|---|---|
author | James Bottomley <James.Bottomley@HansenPartnership.com> | Tue Jan 02 10:28:27 2024 -0500 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Tue Jan 02 10:37:38 2024 -0500 |
tree | 05636c25051adb8a4488a307ceaa2834aba36845 | |
parent | e7fb66b6a702e31cb24f51ec1e2d4d7187b2462e [diff] |
Fix 32 bit signed conversion On 32 bits strtol can't be used to convert a hex number with the high bit set (as happens for persistent handles) because it will overflow and return LONG_MAX, strtoul must be used instead. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>