Patch 8.2.1093
Problem: Python: double free when adding item to dict fails.
Solution: Remove vim_free() call.
Files: src/if_py_both.h
*** ../vim-8.2.1092/src/if_py_both.h 2020-05-30 20:30:42.896816552 +0200
--- src/if_py_both.h 2020-06-29 23:06:37.542877113 +0200
***************
*** 1913,1919 ****
if (dict_add(dict, di) == FAIL)
{
- vim_free(di);
dictitem_free(di);
RAISE_KEY_ADD_FAIL(key);
Py_XDECREF(todecref);
--- 1913,1918 ----
*** ../vim-8.2.1092/src/version.c 2020-06-29 23:02:15.867887636 +0200
--- src/version.c 2020-06-29 23:07:24.466690769 +0200
***************
*** 756,757 ****
--- 756,759 ----
{ /* Add new patch number below this line */
+ /**/
+ 1093,
/**/
--
People who want to share their religious views with you
almost never want you to share yours with them.
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202006292108.05TL8Cji726271%40masaka.moolenaar.net.