Patch 8.0.1501
Problem: Out-of-memory situation not correctly handled. (Coverity)
Solution: Check for NULL value.
Files: src/ops.c
*** ../vim-8.0.1500/src/ops.c 2018-02-10 18:45:21.072822129 +0100
--- src/ops.c 2018-02-11 15:05:44.888390654 +0100
***************
*** 1668,1673 ****
--- 1668,1675 ----
v_event = get_vim_var_dict(VV_EVENT);
list = list_alloc();
+ if (list == NULL)
+ return;
for (n = 0; n < reg->y_size; n++)
list_append_string(list, reg->y_array[n], -1);
list->lv_lock = VAR_FIXED;
*** ../vim-8.0.1500/src/version.c 2018-02-11 15:02:44.045572745 +0100
--- src/version.c 2018-02-11 15:06:07.696242088 +0100
***************
*** 773,774 ****
--- 773,776 ----
{ /* Add new patch number below this line */
+ /**/
+ 1501,
/**/
--
The question is: What do you do with your life?
The wrong answer is: Become the richest guy in the graveyard.
(billionaire and Oracle founder Larry Ellison)
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
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].
For more options, visit https://groups.google.com/d/optout.