[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/security/_zope_security_checker.c
Merged from trunk 26022:
Jim Fulton
jim at zope.com
Fri Jul 2 18:31:12 EDT 2004
Log message for revision 26083:
Merged from trunk 26022:
Added a missing error check. Eek.
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/security/_zope_security_checker.c
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/security/_zope_security_checker.c 2004-07-02 22:30:10 UTC (rev 26082)
+++ Zope3/branches/ZopeX3-3.0/src/zope/security/_zope_security_checker.c 2004-07-02 22:31:12 UTC (rev 26083)
@@ -79,6 +79,8 @@
permission, object, interaction, NULL);
Py_DECREF(policy);
Py_DECREF(interaction);
+ if (r == NULL)
+ return -1;
i = PyObject_IsTrue(r);
Py_DECREF(r);
if (i < 0)
More information about the Zope3-Checkins
mailing list