diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-02-11 17:53:53 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-02-11 18:00:45 +0100 |
commit | 116a8ce35fd50e586d1c79d6f99237428adfa2ef (patch) | |
tree | 083a191c4171711231ef24c2b5c2316f32917af9 /tests/custom/03_stdlib/38_system | |
parent | a317c17f5ddfc3f749d349de01eeea5cad3eb162 (diff) |
vallist: fix storing/retrieving short strings with 8bit byte values
Due to using signed byte values when writing/reading short strings
to/from pointer addresses, 8 bit characters where incorrectly clamped
to `-1` (`255`).
Fix this issue by treating the input string as `uint8_t` array.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'tests/custom/03_stdlib/38_system')
0 files changed, 0 insertions, 0 deletions