1
0
forked from aniani/vim

patch 8.1.0593: illegal memory access in libvterm test

Problem:    Illegal memory access in libvterm test.
Solution:   Fix off-by-one error.
This commit is contained in:
Bram Moolenaar
2018-12-15 14:49:34 +01:00
parent 471f658135
commit 37e3edce20
4 changed files with 8 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ my ( $hin, $hout, $hpid );
{
local $ENV{LD_LIBRARY_PATH} = ".libs";
my @command = "t/.libs/harness";
unshift @command, "valgrind", "--quiet", "--error-exitcode=126" if $VALGRIND;
unshift @command, "valgrind", "--tool=memcheck", "--leak-check=yes", "--num-callers=25", "--log-file=valgrind.out", "--error-exitcode=126" if $VALGRIND;
$hpid = open2 $hout, $hin, @command or die "Cannot open2 harness - $!";
}