Skip to content

Commit e6ea69c

Browse files
committed
lib: ctraces: upgrade to v0.6.6
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 1d68dfc commit e6ea69c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/ctraces/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ endif()
2727
# CTraces Version
2828
set(CTR_VERSION_MAJOR 0)
2929
set(CTR_VERSION_MINOR 6)
30-
set(CTR_VERSION_PATCH 5)
30+
set(CTR_VERSION_PATCH 6)
3131
set(CTR_VERSION_STR "${CTR_VERSION_MAJOR}.${CTR_VERSION_MINOR}.${CTR_VERSION_PATCH}")
3232

3333
# Define __FILENAME__ consistently across Operating Systems

lib/ctraces/src/ctr_decode_opentelemetry.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,9 @@ static int convert_any_value(struct opentelemetry_decode_value *ctr_val,
299299
{
300300
int result;
301301

302+
if (val == NULL) {
303+
return -1;
304+
}
302305
switch (val->value_case) {
303306

304307
case OPENTELEMETRY__PROTO__COMMON__V1__ANY_VALUE__VALUE_STRING_VALUE:

0 commit comments

Comments
 (0)