Fix: incorrect field accounting for dynamic type
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Apr 2020 16:22:19 +0000 (12:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 22 Apr 2020 16:25:27 +0000 (12:25 -0400)
commitcf22367fec17f2b2650e637de84fc2f614e4d2ac
tree6cf056116129aa764ffe995fd52c85b1789fca4b
parente1904921db97b70d94e69f0ab3264c6f7fe62f32
Fix: incorrect field accounting for dynamic type

Two field accounting issues were introduced by
commit 218deb69baab "tracepoint: Refactor representation of nested
types" which affect the dynamic types used by Java application contexts.

The structure types should account 1 for the structure per se, in
addition to the nested fields.

The atype_dynamic includes an implicit enumeration, which now has two
fields instead of 1.

This was causing memory corruption issues in the lttng-ust-java-tests.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust-comm/lttng-ust-comm.c
This page took 0.024347 seconds and 4 git commands to generate.