From e520317f0f080132f7d4b00ff5c34d1b369e3449 Mon Sep 17 00:00:00 2001 From: Brice Videau Date: Thu, 17 Sep 2020 17:18:59 -0500 Subject: [PATCH] Allow all bytes from ctf_sequence_text or ctf_array_text to be added to the resulting string and not stop at the first '\0' character. --- src/plugins/ctf/common/msg-iter/msg-iter.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/plugins/ctf/common/msg-iter/msg-iter.c b/src/plugins/ctf/common/msg-iter/msg-iter.c index a49462b85..25711f5f0 100644 --- a/src/plugins/ctf/common/msg-iter/msg-iter.c +++ b/src/plugins/ctf/common/msg-iter/msg-iter.c @@ -2049,11 +2049,6 @@ enum bt_bfcr_status bfcr_unsigned_int_char_cb(uint64_t value, goto end; } - if (value == 0) { - msg_it->done_filling_string = true; - goto end; - } - string_field = stack_top(msg_it->stack)->base; BT_ASSERT_DBG(bt_field_get_class_type(string_field) == BT_FIELD_CLASS_TYPE_STRING);