Re: [patch] fixed write overflow in expand_env_esc()

2017-08-06 Fir de Conversatie Bram Moolenaar
Dominique wrote: > Vim-8.0.880 and older writes to invalid memory with the > attached nonsensical script: > > $ vim -u NONE -S bug-expand_env_esc.vim > > I have no idea what this strange script found by afl-fuzz > should do, but obviously it should not overflow memory. > > Valgrind says: > >

[patch] fixed write overflow in expand_env_esc()

2017-08-06 Fir de Conversatie Dominique Pellé
Hi Vim-8.0.880 and older writes to invalid memory with the attached nonsensical script: $ vim -u NONE -S bug-expand_env_esc.vim I have no idea what this strange script found by afl-fuzz should do, but obviously it should not overflow memory. Valgrind says: ==11853== Memcheck, a memory error de