Bram Moolenaar wrote:

> Patch 8.2.4863
> Problem:    Accessing freed memory in test without the +channel feature.
>             (Dominique Pellé)
> Solution:   Do not generted PUSHCHANNEL or PUSHJOB if they are not
>             implemented. (closes #10350)
> Files:      src/vim9instr.c, src/errors.h, src/vim9compile.c,
>             src/testdir/test_vim9_script.vim

Hi

Patch 8.2.4863 fixes the heap-use-after-free bug.
However, the test `Test_echo_uninit_variables` still fail
on Linux x86_64 when vim-8.2.4882 is built without the
channel feature:

$ ./configure --with-features=huge --enable-gui=none  --disable-channel
$ make -j8
$ make test_vim9_script
...snip...
Executed 116 tests                       in   6.144727 seconds
1 FAILED:
Found errors in Test_echo_uninit_variables():
Caught exception in Test_echo_uninit_variables(): Vim(call):E1277:
Channel and job feature is not available @ command line..script
/home/dope/sb/vim/src/testdir/runtest.vim[459]..function
RunTheTest[44]..Test_echo_uninit_variables, line 9
SKIPPED Test_debug_running_out_of_lines(): cannot run Vim in a terminal window
SKIPPED Test_debug_with_lambda(): cannot run Vim in a terminal window
SKIPPED Test_define_func_at_command_line(): cannot run Vim in a terminal window
SKIPPED Test_misplaced_type(): cannot run Vim in a terminal window
SKIPPED Test_no_redraw_when_restoring_cpo(): cannot make screendumps
SKIPPED Test_no_unknown_error_after_error(): not unix of missing +job feature
SKIPPED Test_reject_declaration(): cannot make screendumps
SKIPPED Test_vim9_comment_gui(): cannot start the GUI
make[1]: *** [Makefile:66: test_vim9_script] Error 1
make[1]: Leaving directory '/home/dope/sb/vim/src/testdir'
make: *** [Makefile:2288: test_vim9_script] Error 2

-- 
-- 
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/CAON-T_g28yCNYJUYD8MH-a1Ur7cD0rjHiViscB1NXVY9z3na5Q%40mail.gmail.com.

Raspunde prin e-mail lui