summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorBrandon Williams <bmwill@google.com>2017-04-07 12:29:19 -0700
committerJunio C Hamano <gitster@pobox.com>2017-04-16 18:04:06 -0700
commit5ce10c0a29efeab21567228f8916190f2202fdb3 (patch)
tree8673aab4b15ff406fa4448f884cb87590713111a /git-svn.perl
parentc5af19f9ab4cd8582689ca9d9c84f188f4442d10 (diff)
downloadgit-5ce10c0a29efeab21567228f8916190f2202fdb3.tar.gz
pathspec: fix segfault in clear_pathspecbw/attr-pathspec
In 'clear_pathspec()' the incorrect index parameter is used to bound an inner-loop which is used to free a 'struct attr_match' value field. Using the incorrect index parameter (in addition to being incorrect) occasionally causes segmentation faults when attempting to free an invalid pointer. Fix this by using the correct index parameter 'i'. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-svn.perl')
0 files changed, 0 insertions, 0 deletions