summaryrefslogtreecommitdiff
path: root/t/t4109/patch4.patch
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-08-20 09:57:32 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-08-20 09:57:38 -0700
commit8b54c23437834b36bbb5f6de2f577400385da770 (patch)
tree1be1514c35a099216b33574ba10cc51f845f0acc /t/t4109/patch4.patch
parentGit 2.4.8 (diff)
downloadtgif-8b54c23437834b36bbb5f6de2f577400385da770.tar.xz
ps_matched: xcalloc() takes nmemb and then element size
Even though multiplication is commutative, the order of arguments should be xcalloc(nmemb, size). ps_matched is an array of 1-byte element whose size is the same as the number of pathspec elements. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4109/patch4.patch')
0 files changed, 0 insertions, 0 deletions