Mercurial > vim
comparison src/testdir/test_messages.vim @ 19081:3b1f83fdaabc v8.2.0101
patch 8.2.0101: crash when passing null object to ":echomsg"
Commit: https://github.com/vim/vim/commit/9db2afe46d3208775d1c3075bbee073a17f8fdc6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 8 18:56:20 2020 +0100
patch 8.2.0101: crash when passing null object to ":echomsg"
Problem: Crash when passing null object to ":echomsg".
Solution: Check for NULL pointer. (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/5460)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jan 2020 19:00:04 +0100 |
parents | 54baf548bff9 |
children | 82410cbaa042 |
comparison
equal
deleted
inserted
replaced
19080:d5a183323b93 | 19081:3b1f83fdaabc |
---|---|
266 call WaitForAssert({-> assert_equal('100', term_getline(buf, 5))}) | 266 call WaitForAssert({-> assert_equal('100', term_getline(buf, 5))}) |
267 | 267 |
268 call term_sendkeys(buf, ':q!') | 268 call term_sendkeys(buf, ':q!') |
269 call StopVimInTerminal(buf) | 269 call StopVimInTerminal(buf) |
270 endfunc | 270 endfunc |
271 | |
272 func Test_null() | |
273 echom test_null_list() | |
274 echom test_null_dict() | |
275 echom test_null_blob() | |
276 echom test_null_job() | |
277 echom test_null_string() | |
278 echom test_null_channel() | |
279 echom test_null_partial() | |
280 endfunc |