babeltrace:stable-1.0

Last commit made on 2013-10-08
Get this branch:
git clone -b stable-1.0 https://git.launchpad.net/babeltrace

Branch merges

Branch information

Name:
stable-1.0
Repository:
lp:babeltrace

Recent commits

031a946... by Mathieu Desnoyers

gcc warning fix: -Wextra

For the "ordered comparison of pointer with integer zero" warning, fix
this by comparing (type) -1 against (type) 0 instead of just 0, so if
"type" is a pointer type, this pointer type will be applied to the right
operand too, thus fixing the warning.

Signed-off-by: Mathieu Desnoyers <email address hidden>

be59aa1... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Fix ctf_clock_declaration_visit returning an error when reading a boolean

The ret variable is used to read the "absolute" field's value and was
not reset to zero, thus returning an error whenever that value was TRUE.

Signed-off-by: Jérémie Galarneau <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

1d6d9e6... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Fix: Unchecked asprintf/vasprintf return values

strp·may·be·modified·even·in·case·of·failure·according·to·the
ASPRINTF(3) man page.

Signed-off-by: Jérémie Galarneau <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

14de61c... by Mathieu Desnoyers

Missing NULL pointer init in tap.c

Could lead to free() of unitialized pointer.

Signed-off-by: Mathieu Desnoyers <email address hidden>

9eaf254... by Mathieu Desnoyers

Version 1.0.3

Signed-off-by: Mathieu Desnoyers <email address hidden>

e1b9425... by =?utf-8?q?J=C3=A9r=C3=A9mie_Galarneau?= <email address hidden>

Fix: Double free when calling bt_context_remove_trace()

ctf_close_trace was being called twice when calling
bt_context_remove_trace thus causing free() to be called on an invalid
pointer.

Calling bt_context_remove_trace() would call ctf_close_trace() once via
the close_handle callback registered on the ctf format struct and a
second call would take place from bt_trace_handle_destroy() which is
registered as the value_destroy_func on the trace_handles hash table of
the current context.

bt_trace_handle_destroy() now only deallocates the trace handle and does
not perform the trace closing. This makes the
bt_trace_handle_create/destroy and bt_context_add/remove_trace parts of
the public API symmetric.

The crash is reproducible by invoking the tests-python.py script.

Signed-off-by: Jérémie Galarneau <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

0cf1436... by Yannick Brosseau

Add missing runall.sh to dist packaging

Signed-off-by: Yannick Brosseau <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

470f467... by Mathieu Desnoyers

Fix: alignment of compound types containing array field

The "alignment" field of the array declaration is used by compound types
containing an array field to calculate the alignment needed for the
compound types.

Reported-by: Simon Marchi <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

6d204f6... by Mathieu Desnoyers

Version 1.0.2

Signed-off-by: Mathieu Desnoyers <email address hidden>

beb875e... by Mathieu Desnoyers

Fix: add tests/lib missing files to Makefile.am

Fix make dist.

Signed-off-by: Mathieu Desnoyers <email address hidden>