diff --git a/lib/ctraces/CMakeLists.txt b/lib/ctraces/CMakeLists.txt index b91253bbc40..5f6a96b0f68 100644 --- a/lib/ctraces/CMakeLists.txt +++ b/lib/ctraces/CMakeLists.txt @@ -27,7 +27,7 @@ endif() # CTraces Version set(CTR_VERSION_MAJOR 0) set(CTR_VERSION_MINOR 5) -set(CTR_VERSION_PATCH 1) +set(CTR_VERSION_PATCH 2) set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}") # Define __FILENAME__ consistently across Operating Systems diff --git a/lib/ctraces/include/ctraces/ctr_variant_utils.h b/lib/ctraces/include/ctraces/ctr_variant_utils.h index d8f25169ce6..029950cfc91 100644 --- a/lib/ctraces/include/ctraces/ctr_variant_utils.h +++ b/lib/ctraces/include/ctraces/ctr_variant_utils.h @@ -420,6 +420,7 @@ static inline int unpack_cfl_variant_string(mpack_reader_t *reader, } (*value)->type = CFL_VARIANT_STRING; + (*value)->size = value_length; return 0; } @@ -465,6 +466,7 @@ static inline int unpack_cfl_variant_binary(mpack_reader_t *reader, } (*value)->type = CFL_VARIANT_BYTES; + (*value)->size = value_length; return 0; }