Patch 8.2.1091
Problem: No check if opening a pty works.
Solution: Check for invalid file descriptor.
Files: src/os_unix.c
*** ../vim-8.2.1090/src/os_unix.c 2020-06-10 20:56:55.025354576 +0200
--- src/os_unix.c 2020-06-29 22:39:40.493045712 +0200
***************
*** 5922,5927 ****
--- 5922,5929 ----
channel_T *channel;
open_pty(&pty_master_fd, &pty_slave_fd, &job->jv_tty_out, &job->jv_tty_in);
+ if (pty_master_fd < 0 || pty_slave_fd < 0)
+ return FAIL;
close(pty_slave_fd);
channel = add_channel();
*** ../vim-8.2.1090/src/version.c 2020-06-29 22:31:32.403297618 +0200
--- src/version.c 2020-06-29 22:40:21.040860178 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1091,
/**/
--
The Characters and incidents portrayed and the names used are fictitious and
any similarity to the names, characters, or history of any person is entirely
accidental and unintentional.
Signed RICHARD M. NIXON
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- Br...@Moolenaar.net --
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 ///