From: Jan Beulich <jbeulich@suse.com>
To: Marcus Nilsson <brainbomb@gmail.com>
Cc: binutils@sourceware.org
Subject: Re: [PATCH] readelf: Replace xmalloc with malloc in slurp_relr_relocs
Date: Wed, 8 Jun 2022 08:11:15 +0200 [thread overview]
Message-ID: <b05dd046-60cb-790b-72d4-cee4f7adef9c@suse.com> (raw)
In-Reply-To: <20220607212342.671687-1-brainbomb@gmail.com>
On 07.06.2022 23:23, Marcus Nilsson via Binutils wrote:
> Using xmalloc makes the null check redundant since failing allocation
> will exit the program. Instead use malloc and let the error be
> conveyed up the call chain.
>
> binutils/ChangeLog:
> * readelf.c: (slurp_relr_relocs) Use malloc instead of xmalloc
> when allocating space for relocations.
OK.
Jan
next prev parent reply other threads:[~2022-06-08 6:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-07 21:23 Marcus Nilsson
2022-06-08 6:11 ` Jan Beulich [this message]
2022-06-17 9:01 ` Marcus Nilsson
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=b05dd046-60cb-790b-72d4-cee4f7adef9c@suse.com \
--to=jbeulich@suse.com \
--cc=binutils@sourceware.org \
--cc=brainbomb@gmail.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).