From 9e4b5eb51699c7b6aaa6c566a30bd982f0b108ee Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 20 Apr 2017 11:36:22 +0200 Subject: bplist: Fix missing break in switch statement in plist_to_bin() Credit to Christophe Fergeau --- src/bplist.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bplist.c b/src/bplist.c index fe80458..9acd6ae 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -1270,6 +1270,7 @@ PLIST_API void plist_to_bin(plist_t plist, char **plist_bin, uint32_t * length) break; case PLIST_DATA: write_data(bplist_buff, data->buff, data->length); + break; case PLIST_ARRAY: write_array(bplist_buff, ptr_array_index(objects, i), ref_table, ref_size); break; -- cgit v1.1-32-gdbae