public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Wolfram Gloger <wmglo@dent.med.uni-muenchen.de>,
	libc-hacker@sources.redhat.com
Subject: Re: [PATCH] xdr_array and calloc security fix
Date: Fri, 02 Aug 2002 02:50:00 -0000	[thread overview]
Message-ID: <3D4A55F0.5020007@redhat.com> (raw)
In-Reply-To: <3D4A5446.5030204@redhat.com>

Ulrich Drepper wrote:

> It should be possible to have something like
> 
>   ((a | b) > (a * b))
> 
> for unsigned values.  I'm not 100% sure, though.

I mean, this is an approximation which lets us avoid the division in 
many (most?) cases.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------

  reply	other threads:[~2002-08-02  9:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-01 15:46 Jakub Jelinek
2002-08-02  0:20 ` Ulrich Drepper
2002-08-02  2:29 ` Wolfram Gloger
2002-08-02  2:43   ` Ulrich Drepper
2002-08-02  2:50     ` Ulrich Drepper [this message]
2002-08-02  2:56       ` Jakub Jelinek
2002-08-02  4:07         ` Andreas Schwab
2002-08-02  4:46           ` Jakub Jelinek
2002-08-02  4:57             ` Wolfram Gloger
2002-08-02  5:05               ` Jakub Jelinek
2002-08-02  5:13                 ` Wolfram Gloger
2002-08-03  5:03                   ` [PATCH] optimize calloc Jakub Jelinek
2002-08-03 12:02                     ` Ulrich Drepper

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=3D4A55F0.5020007@redhat.com \
    --to=drepper@redhat.com \
    --cc=libc-hacker@sources.redhat.com \
    --cc=wmglo@dent.med.uni-muenchen.de \
    /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).