Re: [PATCH 15/13] compat/fnmatch: fix off-by-one character class's length check
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Nov 13, 2012, 18:07 UTC
- Message-ID
- <50A28C5E.3090508@kdbg.org>
- In-Reply-To
- <1352628837-5784-2-git-send-email-pclouds@gmail.com>
Am 11.11.2012 11:13, schrieb Nguyễn Thái Ngọc Duy:
> - if (c1 == CHAR_CLASS_MAX_LENGTH) > + if (c1 > CHAR_CLASS_MAX_LENGTH)
Nice catch! With this one and 14/13, all tests in t3070 pass on Windows.
-- Hannes