Mercurial > vim
comparison src/testdir/test_channel.vim @ 25891:58b1c9d96ec6 v8.2.3479
patch 8.2.3479: crash when calling job_start with an invalid argument
Commit: https://github.com/vim/vim/commit/7c25a7c0a129300d0632e5b99ccefdca9bf3ffa2
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 5 19:19:35 2021 +0100
patch 8.2.3479: crash when calling job_start with an invalid argument
Problem: Crash when calling job_start with an invalid argument. (Virginia
Senioria)
Solution: Clear the first item in argv. (closes #8957)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 05 Oct 2021 20:30:04 +0200 |
parents | 838a0108a92d |
children | a5a772dace5b |
comparison
equal
deleted
inserted
replaced
25890:7fb29ee9c3be | 25891:58b1c9d96ec6 |
---|---|
2360 augroup bufenterjob | 2360 augroup bufenterjob |
2361 autocmd! | 2361 autocmd! |
2362 augroup END | 2362 augroup END |
2363 endfunc | 2363 endfunc |
2364 | 2364 |
2365 func Test_job_start_with_invalid_argument() | |
2366 call assert_fails('call job_start([0zff])', 'E976:') | |
2367 endfunc | |
2368 | |
2365 | 2369 |
2366 " vim: shiftwidth=2 sts=2 expandtab | 2370 " vim: shiftwidth=2 sts=2 expandtab |