[PATCH] Rename already used counter var i

Carl Worth cworth at cworth.org
Tue Apr 27 10:18:30 PDT 2010


> On Tue, 27 Apr 2010 14:57:25 +0200, Sebastian Spaeth <Sebastian at SSpaeth.de> wrote:
> For a point release like 0.3.1 I'm going to insist on a test case that
> demonstrates each regression being fixed. Does someone know what it
> takes to make a mail trigger this bug?

I investigated this. The key was that the user had to have no configured
"other" email addresses, (or at least fewer than the fixed-length array
(2) being iterated over in the outer loop) in order to trigger the
infinite-loop bug.

I just pushed new test cases to master that pass, and verified that the
same test cases cause the code in 0.3 to enter an infinite loop.

-Carl

-- 
carl.d.worth at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100427/c6e5169c/attachment.pgp>


More information about the notmuch mailing list