This structure is passed to _ctf_float_copy() which uses the
uninitialized mmap_offset and offset values to read the source
floating point value.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
union doubleIEEE754 u;
struct bt_definition *tmpdef;
struct definition_float *tmpfloat;
- struct ctf_stream_pos srcp;
+ struct ctf_stream_pos srcp = { { 0 } };
struct mmap_align mma;
int ret;