From: Tom Tromey <tom@tromey.com>
To: Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
Cc: gdb-patches@sourceware.org, tom@tromey.com, kevinb@redhat.com
Subject: Re: [PATCH] Fix access to uninitialized variable in fill_in_stop_func
Date: Fri, 09 Aug 2019 20:42:00 -0000 [thread overview]
Message-ID: <87d0he3waz.fsf@tromey.com> (raw)
In-Reply-To: <20190809191313.25200-1-pedromfc@linux.ibm.com> (Pedro Franco de Carvalho's message of "Fri, 9 Aug 2019 16:13:13 -0300")
>>>>> "Pedro" == Pedro Franco de Carvalho <pedromfc@linux.ibm.com> writes:
Pedro> This patch changes find_pc_partial_function so that *block is set to
Pedro> nullptr when it fails, so that fill_in_stop_func won't access an
Pedro> uninitialized variable.
Pedro> gdb/ChangeLog:
Pedro> YYYY-MM-DD Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
Pedro> * blockframe.c (find_pc_partial_function): Set *block to nullptr
Pedro> when the function fails.
Thanks. This is ok.
Tom
prev parent reply other threads:[~2019-08-09 20:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-08 13:54 Pedro Franco de Carvalho
2019-08-08 17:14 ` Tom Tromey
2019-08-08 17:42 ` Kevin Buettner
2019-08-09 19:13 ` Pedro Franco de Carvalho
2019-08-09 19:17 ` Kevin Buettner
2019-08-09 19:52 ` Pedro Franco de Carvalho
2019-08-09 20:42 ` Tom Tromey [this message]
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=87d0he3waz.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=kevinb@redhat.com \
--cc=pedromfc@linux.ibm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox