diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/bplist.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c index 7ab9380..7cc8a03 100644 --- a/src/bplist.c +++ b/src/bplist.c | |||
| @@ -727,6 +727,9 @@ PLIST_API void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * | |||
| 727 | if (offset_size == 0) | 727 | if (offset_size == 0) |
| 728 | return; | 728 | return; |
| 729 | 729 | ||
| 730 | if (ref_size == 0) | ||
| 731 | return; | ||
| 732 | |||
| 730 | if (root_object >= num_objects) | 733 | if (root_object >= num_objects) |
| 731 | return; | 734 | return; |
| 732 | 735 | ||
