diff options
author | Nikias Bassen | 2022-02-02 04:38:16 +0100 |
---|---|---|
committer | Nikias Bassen | 2022-02-02 04:38:16 +0100 |
commit | 474c8eb82e776bfac804338247045b11fa389d8d (patch) | |
tree | 9c10d9469c2d6714ea111a5cecb49e2a236a01b0 /src/jsmn.c | |
parent | db4635a081b03eb9a2ea310bfb2f994fd9d4ee94 (diff) | |
download | libplist-474c8eb82e776bfac804338247045b11fa389d8d.tar.gz libplist-474c8eb82e776bfac804338247045b11fa389d8d.tar.bz2 |
jplist: Improve numerical value parsing without copying data to stack buffer
Instead of calling strtoll() and atof(), the code now parses the numerical
values directly to handle cases of non-0-terminated string data.
The floating point value parsing is probably not ideal, but sufficient for
our purposes.
Diffstat (limited to 'src/jsmn.c')
0 files changed, 0 insertions, 0 deletions