diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-12-15 14:49:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-12-15 14:49:34 +0100 |
commit | 37e3edce200c5a0ae8f81ca729b18d75477d2725 (patch) | |
tree | 02fd172196927cfed25df48691b9a7882976e5a9 /src/libvterm/t | |
parent | 471f65813592238509923f2c8748df5be03513e9 (diff) | |
download | vim-git-37e3edce200c5a0ae8f81ca729b18d75477d2725.tar.gz |
patch 8.1.0593: illegal memory access in libvterm testv8.1.0593
Problem: Illegal memory access in libvterm test.
Solution: Fix off-by-one error.
Diffstat (limited to 'src/libvterm/t')
-rw-r--r-- | src/libvterm/t/run-test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvterm/t/run-test.pl b/src/libvterm/t/run-test.pl index 4ef0f26d4..12e11801b 100644 --- a/src/libvterm/t/run-test.pl +++ b/src/libvterm/t/run-test.pl @@ -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 - $!"; } |