updated for version 7.3.908
Problem: Possible crash when using a list in Python.
Solution: Return early if the list is NULL. (ZyX)
diff --git a/src/if_py_both.h b/src/if_py_both.h
index cd80800..2739f66 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -738,6 +738,8 @@
tv->vval.v_dict = d;
list = PyMapping_Items(obj);
+ if (list == NULL)
+ return -1;
lsize = PyList_Size(list);
while (lsize--)
{
diff --git a/src/version.c b/src/version.c
index 1aeeb56..4e0a6a1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 908,
+/**/
907,
/**/
906,