diff options
-rw-r--r-- | src/bplist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bplist.c b/src/bplist.c index f993d9e..cd7fe9b 100644 --- a/src/bplist.c +++ b/src/bplist.c @@ -271,6 +271,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_data_t data = plist_new_plist_data(); data->type = PLIST_BOOLEAN; data->boolval = TRUE; + data->length = 1; return g_node_new(data); } @@ -279,6 +280,7 @@ static plist_t parse_bin_node(char *object, uint8_t dict_size, char **next_objec plist_data_t data = plist_new_plist_data(); data->type = PLIST_BOOLEAN; data->boolval = FALSE; + data->length = 1; return g_node_new(data); } |