From: Luis Machado <luis.machado@linaro.org>
To: Tom Tromey <tom@tromey.com>,
Luis Machado via Gdb-patches <gdb-patches@sourceware.org>
Subject: Re: [PATCH] Fix malloc allocation size sanity check
Date: Wed, 12 Aug 2020 16:46:07 -0300 [thread overview]
Message-ID: <05c71fb9-3e87-a964-ea63-85ca4ae30bf6@linaro.org> (raw)
In-Reply-To: <87pn7vhd9o.fsf@tromey.com>
On 8/12/20 4:31 PM, Tom Tromey wrote:
>>>>>> "Luis" == Luis Machado via Gdb-patches <gdb-patches@sourceware.org> writes:
>
> Luis> The following patch fixes this by making the length variable a size_t.
>
> main_type::length is a ULONGEST, so maybe that would be better?
Yeah, I guess. I'll change it.
I noticed xzalloc takes a size_t though.
next prev parent reply other threads:[~2020-08-12 19:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 19:17 Luis Machado
2020-08-12 19:31 ` Tom Tromey
2020-08-12 19:32 ` Tom Tromey
2020-08-12 19:46 ` Luis Machado [this message]
2020-08-17 11:01 ` Gary Benson
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=05c71fb9-3e87-a964-ea63-85ca4ae30bf6@linaro.org \
--to=luis.machado@linaro.org \
--cc=gdb-patches@sourceware.org \
--cc=tom@tromey.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