public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Siddhesh Poyarekar <siddhesh@sourceware.org>
Cc: libc-alpha@sourceware.org,  "Richard W . M . Jones" <rjones@redhat.com>
Subject: Re: [COMMITTED] Handle NULL input to malloc_usable_size [BZ #28506]
Date: Fri, 29 Oct 2021 11:27:08 +0200	[thread overview]
Message-ID: <87r1c4ji4z.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20211029092538.2215865-1-siddhesh@sourceware.org> (Siddhesh Poyarekar's message of "Fri, 29 Oct 2021 14:55:38 +0530")

* Siddhesh Poyarekar:

> Hoist the NULL check for malloc_usable_size into its entry points in
> malloc-debug and malloc and assume non-NULL in all callees.  This fixes
> BZ #28506
>
> Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
> Reviewed-by: Florian Weimer <fweimer@redhat.com>
> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>

Looks good, thanks.

Florian


      reply	other threads:[~2021-10-29  9:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-29  3:18 [PATCH] " Siddhesh Poyarekar
2021-10-29  8:30 ` Florian Weimer
2021-10-29  8:55   ` [PATCH v2] " Siddhesh Poyarekar
2021-10-29  9:00     ` Richard W.M. Jones
2021-10-29  9:06     ` Florian Weimer
2021-10-29  9:25       ` [COMMITTED] " Siddhesh Poyarekar
2021-10-29  9:27         ` Florian Weimer [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=87r1c4ji4z.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=rjones@redhat.com \
    --cc=siddhesh@sourceware.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 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).