All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH lttng-tools v3] Fix: syscall_table_nb_entry invalid value when no syscalls TPs are defined
@ 2017-03-21  9:31 Colin Ian King
  0 siblings, 0 replies; 7+ messages in thread
From: Colin Ian King @ 2017-03-21  9:31 UTC (permalink / raw)
  To: lttng-dev

>fscanf on an empty file returns directly without assigning value to
>'index' leading to assigning the value of an uninitialized variable to
>syscall_table_nb_entry. This can result in memory allocation problems
>when listing syscalls on 'lttng list --kernel --syscall'[1][2].
>
>Fixes #1091
>
>[1] https://bugs.lttng.org/issues/1091
>[2] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671063/
>
>Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien at efficios.com>

Thanks Jonathan.

Tested-by: Colin Ian King <colin.king@canonical.com>
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-05-06 19:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1489443109-12380-1-git-send-email-jonathan.rajotte-julien@efficios.com>
2017-03-14  1:12 ` [PATCH lttng-tools 1/2] Fix: syscall_table_nb_entry invalid value when no syscalls TPs are defined Mathieu Desnoyers
     [not found] ` <463034182.4458.1489453949213.JavaMail.zimbra@efficios.com>
2017-03-14  1:28   ` Mathieu Desnoyers
2017-03-14 14:37 ` [PATCH lttng-tools v2] " Jonathan Rajotte
     [not found] ` <1489502277-4083-1-git-send-email-jonathan.rajotte-julien@efficios.com>
2017-03-14 19:37   ` Mathieu Desnoyers
2017-03-15 14:59 ` [PATCH lttng-tools v3] " Jonathan Rajotte
     [not found] ` <1489589971-22903-1-git-send-email-jonathan.rajotte-julien@efficios.com>
2017-05-06 19:49   ` Jérémie Galarneau
2017-03-21  9:31 Colin Ian King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.