mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #10] Fix issues with 0-length streams #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/claunia/plist-cil/pull/10
State: closed
Merged: Yes
When parsing a stream, it can happen that the stream is 0-length (or, more likely, that you're at the end of the stream by accident).
This would cause an index out of range exception in the
PropertyListParser. This PR fixes that and also optimizes how ReadAll is implemented.Hope it helps!