bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in autoconf-2.64


From: Ralf Wildenhues
Subject: Re: bug in autoconf-2.64
Date: Thu, 24 Feb 2011 19:36:01 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

[ dropping bug-{autoconf,m4} ]

Hi Jim,

* Jim Meyering wrote on Thu, Feb 24, 2011 at 02:00:31PM CET:
>
> Here's what I've just pushed:

Thank you for handling this so promptly.  Would it be possible to also
credit Mike Stump as original bug reporter?

Thanks,
Ralf

> Subject: [PATCH] strstr: fix a bug whereby strstr would mistakenly return NULL
> 
> * lib/str-two-way.h (two_way_short_needle): Correct off-by-one error
> in period calculation.
> (two_way_long_needle): Likewise.
> Reported by Ralf Wildenhues, with the short needle and haystack.
> * tests/test-strstr.c: Add Ralf's test case to trigger the bug.
> Add a more involved test to trigger the bug in two_way_long_needle.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]