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 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) { plist_data_t data = plist_get_data(nodeslist[i]); + if (!data) { + break; + } switch (data->type) { |