Dominique Pelle wrote: > Bram Moolenaar <[email protected]> wrote: > > > > > Simon Ruderich wrote: > > > >> Hello, > >> > >> Running the testsuite for the latest Vim (7.4a.1) shows these > >> errors when running test89: > >> > >> ==10670== Invalid write of size 1 > >> ==10670== at 0x4C29552: strcpy (in > >> /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) > >> ==10670== by 0x214DEA: vim_findfile_init (string3.h:144) > >> ==10670== by 0x215341: find_file_in_path_option (misc2.c:5985) > >> ==10670== by 0x184C56: findfilendir (eval.c:10461) > >> ==10670== by 0x18DDB8: call_func (eval.c:8530) > >> ==10670== by 0x191E07: get_func_tv (eval.c:8343) > > > > Thanks for reporting. I'll see if I can reproduce it. > > I can reproduce it. Attached patch should fix it.
Thanks. Strange this "- len" vs "+ len" mistake... -- Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin) /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
