summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bplist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c
index b9f2483..523d0fe 100644
--- a/src/bplist.c
+++ b/src/bplist.c
@@ -655,6 +655,9 @@ void plist_from_bin(const char *plist_bin, uint32_t length, plist_t * plist)
655 { 655 {
656 656
657 plist_data_t data = plist_get_data(nodeslist[i]); 657 plist_data_t data = plist_get_data(nodeslist[i]);
658 if (!data) {
659 break;
660 }
658 661
659 switch (data->type) 662 switch (data->type)
660 { 663 {