public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@redhat.com>
To: "Ondřej Bílka" <neleai@seznam.cz>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH][BZ #18240] Handle overflow in __hcreate_r
Date: Wed, 15 Jul 2015 11:16:00 -0000	[thread overview]
Message-ID: <20150715111558.GI29227@spoyarek.pnq.redhat.com> (raw)
In-Reply-To: <20150711154410.GA10704@domone>

On Sat, Jul 11, 2015 at 05:44:10PM +0200, Ondřej Bílka wrote:
> Hi,
> 
> As in bugzilla entry there is overflow in hsearch when looking for prime
> number as SIZE_MAX - 1 is divisible by 5. We fix that by rejecting large
> inputs before looking for prime.

Looks OK to me.

Siddhesh

      reply	other threads:[~2015-07-15 11:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-11 15:44 Ondřej Bílka
2015-07-15 11:16 ` Siddhesh Poyarekar [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=20150715111558.GI29227@spoyarek.pnq.redhat.com \
    --to=siddhesh@redhat.com \
    --cc=libc-alpha@sourceware.org \
    --cc=neleai@seznam.cz \
    /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).