Skip to content

Commit 10a24b1

Browse files
committed
lib: ctraces: upgrade to v0.6.5
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 97ba3fd commit 10a24b1

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/ctraces/.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
submodules: true
138138

139139
- name: Build on ${{ matrix.os }} with ${{ matrix.compiler }}
140-
uses: uraimo/[email protected].0
140+
uses: uraimo/[email protected].1
141141
with:
142142
arch: aarch64
143143
distro: ubuntu_latest

lib/ctraces/.github/workflows/packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
submodules: true
2424

25-
- uses: uraimo/[email protected].0
25+
- uses: uraimo/[email protected].1
2626
name: Build the ${{matrix.format}} packages
2727
with:
2828
arch: aarch64

lib/ctraces/CMakeLists.txt

+1-1
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 4)
30+
set(CTR_VERSION_PATCH 5)
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ int ctr_decode_opentelemetry_create(struct ctrace **out_ctr,
540540

541541
for (resource_span_index = 0; resource_span_index < service_request->n_resource_spans; resource_span_index++) {
542542
otel_resource_span = service_request->resource_spans[resource_span_index];
543-
if (otel_resource_span == NULL) {
543+
if (otel_resource_span == NULL || otel_resource_span->resource == NULL) {
544544
opentelemetry__proto__collector__trace__v1__export_trace_service_request__free_unpacked(service_request, NULL);
545545
ctr_destroy(ctr);
546546
return CTR_DECODE_OPENTELEMETRY_INVALID_PAYLOAD;

0 commit comments

Comments
 (0)