Skip to content
Snippets Groups Projects
Commit 7a26dd86 authored by Bram Moolenaar's avatar Bram Moolenaar
Browse files

updated for version 7.3.908

Problem:    Possible crash when using a list in Python.
Solution:   Return early if the list is NULL. (ZyX)
parent af6abb9d
No related merge requests found
......@@ -738,6 +738,8 @@ pymap_to_tv(PyObject *obj, typval_T *tv, PyObject *lookupDict)
tv->vval.v_dict = d;
list = PyMapping_Items(obj);
if (list == NULL)
return -1;
lsize = PyList_Size(list);
while (lsize--)
{
......
......@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
908,
/**/
907,
/**/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment