From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [RFC PATCH] fix OOB reads in Xbyte_memmem
Date: Thu, 29 Jun 2017 17:48:26 -0400 [thread overview]
Message-ID: <20170629214826.GG1627@brightrain.aerifal.cx> (raw)
In-Reply-To: <20170629213533.18744-1-amonakov@ispras.ru>
On Fri, Jun 30, 2017 at 12:35:33AM +0300, Alexander Monakov wrote:
> Reported by Leah Neukirchen.
> ---
> Presumably the loops were written that way to get good performance even in
I think they were just written as the simplest possible
"looks-correct" adaptation of the strstr versions of the code. If
they're good it's probably just by luck.
Rich
next prev parent reply other threads:[~2017-06-29 21:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-29 13:37 Out-of-bounds read in twobyte_memmem Leah Neukirchen
2017-06-29 21:35 ` [RFC PATCH] fix OOB reads in Xbyte_memmem Alexander Monakov
2017-06-29 21:48 ` Rich Felker [this message]
2017-07-10 18:11 ` Alexander Monakov
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=20170629214826.GG1627@brightrain.aerifal.cx \
--to=dalias@libc.org \
--cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).