summaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-11-11 17:13:57 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-11-20 12:13:09 -0800
commitf10e3864dc3b0ba0051148f9b2b555df11fc337a (patch)
tree9b1a1fadcd268ecd0a7114d423a4451b652649a7 /strbuf.c
parentGit 1.7.12.4 (diff)
downloadtgif-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 'strbuf.c')
0 files changed, 0 insertions, 0 deletions