Hi Bram, On Tue, Apr 21, 2020 at 1:25 AM Bram Moolenaar <[email protected]> wrote:
> > Yegappan wrote: > > > The following calls crash Vim (with ASAN enabled): > > > > call append(1, test_null_list()) > > call appendbufline(1, 1, test_null_list()) > > call setline(1, test_null_list()) > > call setbufline(1, 1, test_null_list()) > > > > The set_buffer_lines() function doesn't validate the 'lines' parameter > > before de-referencing it. > > Good find. It should behave like an empty list. Can you fix that? > > I have updated the PR https://github.com/vim/vim/pull/5963 with a fix for this. - Yegappan -- -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3Drp%2BgPDAboSOaQhdpGgkibyKgoWTVy7aJV37W_vXwbQA%40mail.gmail.com.
