<feed xmlns='http://www.w3.org/2005/Atom'>
<title>libplist/src/jsmn.h, branch 2.8.0</title>
<subtitle>Library to handle Apple Property List format files in binary or XML</subtitle>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/'/>
<entry>
<title>jsmn: use size_t for token offsets and harden against overflow</title>
<updated>2026-01-21T11:26:13+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2026-01-21T11:24:52+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=c0f9df912d2a4001e56321fb53615e6474b32232'/>
<id>c0f9df912d2a4001e56321fb53615e6474b32232</id>
<content type='text'>
Use size_t for token start/end offsets instead of int, replace the -1
sentinel with SIZE_MAX, and add a defensive guard against offset
wraparound. This prevents overflow when parsing very large JSON inputs.

This addresses issue #282.

Credit to @ylwango613 for repporting.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use size_t for token start/end offsets instead of int, replace the -1
sentinel with SIZE_MAX, and add a defensive guard against offset
wraparound. This prevents overflow when parsing very large JSON inputs.

This addresses issue #282.

Credit to @ylwango613 for repporting.
</pre>
</div>
</content>
</entry>
<entry>
<title>json: Update parser (jsmn) to verify the length of the input data</title>
<updated>2021-12-24T01:49:56+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2021-12-24T01:49:56+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=a22f0f5dd020958c7a61282e067479add99a0a5a'/>
<id>a22f0f5dd020958c7a61282e067479add99a0a5a</id>
<content type='text'>
This way the string doesn't have to be 0-terminated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way the string doesn't have to be 0-terminated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for JSON format</title>
<updated>2021-12-23T02:09:07+00:00</updated>
<author>
<name>Nikias Bassen</name>
</author>
<published>2021-12-23T02:09:07+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.libimobiledevice.org/libplist.git/commit/?id=429cbc660ae14d4998715803b44c71abf0e4a339'/>
<id>429cbc660ae14d4998715803b44c71abf0e4a339</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
