All of lore.kernel.org
 help / color / mirror / Atom feed
From: Colin Ian King <colin.king@canonical.com>
To: lttng-dev@lists.lttng.org
Subject: [PATCH lttng-tools v3] Fix: syscall_table_nb_entry invalid value when no syscalls TPs are defined
Date: Tue, 21 Mar 2017 09:31:20 +0000	[thread overview]
Message-ID: <6e1e4b6e-9e73-4afa-a987-bbafd19e243d__42885.5808488608$1490089731$gmane$org@canonical.com> (raw)

>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

             reply	other threads:[~2017-03-21  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21  9:31 Colin Ian King [this message]
     [not found] <1489443109-12380-1-git-send-email-jonathan.rajotte-julien@efficios.com>
2017-03-15 14:59 ` [PATCH lttng-tools v3] Fix: syscall_table_nb_entry invalid value when no syscalls TPs are defined Jonathan Rajotte
     [not found] ` <1489589971-22903-1-git-send-email-jonathan.rajotte-julien@efficios.com>
2017-05-06 19:49   ` Jérémie Galarneau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='6e1e4b6e-9e73-4afa-a987-bbafd19e243d__42885.5808488608$1490089731$gmane$org@canonical.com' \
    --to=colin.king@canonical.com \
    --cc=lttng-dev@lists.lttng.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.