diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-11-11 17:13:57 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-20 12:13:09 -0800 |
commit | f10e3864dc3b0ba0051148f9b2b555df11fc337a (patch) | |
tree | 9b1a1fadcd268ecd0a7114d423a4451b652649a7 /reflog-walk.c | |
parent | Git 1.7.12.4 (diff) | |
download | tgif-f10e3864dc3b0ba0051148f9b2b555df11fc337a.tar.xz |
compat/fnmatch: fix off-by-one character class's length check
Character class "xdigit" is the only one that hits 6 character limit
defined by CHAR_CLASS_MAX_LENGTH. All other character classes are 5
character long and therefore never caught by this.
This should make xdigit tests in t3070 pass on Windows.
Reported-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'reflog-walk.c')
0 files changed, 0 insertions, 0 deletions