Patch 7.3.908
Problem:    Possible crash when using a list in Python.
Solution:   Return early if the list is NULL. (ZyX)
Files:      src/if_py_both.h


*** ../vim-7.3.907/src/if_py_both.h     2013-04-24 13:04:21.000000000 +0200
--- src/if_py_both.h    2013-04-24 13:10:20.000000000 +0200
***************
*** 738,743 ****
--- 738,745 ----
      tv->vval.v_dict = d;
  
      list = PyMapping_Items(obj);
+     if (list == NULL)
+       return -1;
      lsize = PyList_Size(list);
      while (lsize--)
      {
*** ../vim-7.3.907/src/version.c        2013-04-24 13:04:21.000000000 +0200
--- src/version.c       2013-04-24 13:09:30.000000000 +0200
***************
*** 730,731 ****
--- 730,733 ----
  {   /* Add new patch number below this line */
+ /**/
+     908,
  /**/

-- 
How do I set the laser printer to stun? 

 /// 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/groups/opt_out.


Raspunde prin e-mail lui