Re: [bug] use of free memory in win_getid(...)

2016-11-13 Fir de Conversatie Bram Moolenaar
Dominique Pellé wrote: > afl-fuzz found this case which causes vim-8.0.81 and > older to use free memory: > > $ cat >use-free-mem.vim < tabedit X > tabfirst > copen > only > echo win_getid(1, 1) > EOF > > $ valgrind vim -u NONE -S use-free-mem.vim -cqa 2> vg.log > > And vg.log contains: > >

[bug] use of free memory in win_getid(...)

2016-11-12 Fir de Conversatie Dominique Pellé
Hi afl-fuzz found this case which causes vim-8.0.81 and older to use free memory: $ cat >use-free-mem.vim < vg.log And vg.log contains: ==11501== Memcheck, a memory error detector ==11501== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==11501== Using Valgrind-3.12.0.SVN and