diff options
| author | 2026-05-22 16:37:57 +0200 | |
|---|---|---|
| committer | 2026-05-22 16:37:57 +0200 | |
| commit | 389fab9a07baf3913c4214425e86cca588d559a1 (patch) | |
| tree | 79194d9bf12f11ac788c6ac7c8512c69ede90ed9 /src/bytearray.h | |
| parent | 5546a8746558d088d90ba8f6cb52a50f886c9572 (diff) | |
| download | libplist-389fab9a07baf3913c4214425e86cca588d559a1.tar.gz libplist-389fab9a07baf3913c4214425e86cca588d559a1.tar.bz2 | |
out-default: harden node serialization paths
Improve robustness and memory safety in node_to_string() and dtostr():
- add missing NULL and allocation checks
- fix snprintf() error handling and signed/unsigned conversions
- replace sprintf() with snprintf()
- fix base64 buffer sizing
- switch string offset tracking to size_t
- improve malformed data handling for strings and data blobs
Diffstat (limited to 'src/bytearray.h')
0 files changed, 0 insertions, 0 deletions
