Skip to content

Commit

Permalink
Allow all bytes from ctf_sequence_text or ctf_array_text to be added …
Browse files Browse the repository at this point in the history
…to the resulting string and not stop at the first '\0' character.
  • Loading branch information
Kerilk committed May 19, 2021
1 parent 7eae5d7 commit e520317
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/plugins/ctf/common/msg-iter/msg-iter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e520317

Please sign in to comment.