summaryrefslogtreecommitdiffstats
path: root/src/bplist.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-02 04:38:16 +0100
committerGravatar Nikias Bassen2022-02-02 04:38:16 +0100
commit474c8eb82e776bfac804338247045b11fa389d8d (patch)
tree9c10d9469c2d6714ea111a5cecb49e2a236a01b0 /src/bplist.c
parentdb4635a081b03eb9a2ea310bfb2f994fd9d4ee94 (diff)
downloadlibplist-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/bplist.c')
0 files changed, 0 insertions, 0 deletions