Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
ac87f73d
Commit
ac87f73d
authored
Jul 23, 2002
by
matt@zope.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Checkin fix for Collector 421: cAccessControl storage leak
parent
dc4720fa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
doc/CHANGES.txt
doc/CHANGES.txt
+2
-0
lib/python/AccessControl/cAccessControl.c
lib/python/AccessControl/cAccessControl.c
+3
-3
No files found.
doc/CHANGES.txt
View file @
ac87f73d
...
...
@@ -73,6 +73,8 @@ Zope Changes
- Fix bug in ISO_8859_1 splitter which corruped storage on
initialization.
- Collector #421: Storage leak in cAccessControl
Features Added
- ZCatalog index management ui is now integrated into ZCatalog rather
...
...
lib/python/AccessControl/cAccessControl.c
View file @
ac87f73d
...
...
@@ -36,7 +36,7 @@
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
$Id: cAccessControl.c,v 1.1
6 2002/04/12 15:21:47
matt Exp $
$Id: cAccessControl.c,v 1.1
7 2002/07/23 14:08:55
matt Exp $
If you have questions regarding this software,
contact:
...
...
@@ -1028,7 +1028,7 @@ static PyObject *ZopeSecurityPolicy_validate(PyObject *self, PyObject *args) {
}
if
(
owner
!=
Py_None
)
{
owner
=
PyObject_GetAttr
(
owner
,
allowed_str
);
ASSIGN
(
owner
,
PyObject_GetAttr
(
owner
,
allowed_str
)
);
if
(
owner
)
ASSIGN
(
owner
,
callfunction2
(
owner
,
value
,
roles
));
if
(
owner
==
NULL
)
...
...
@@ -2097,7 +2097,7 @@ void initcAccessControl(void) {
module
=
Py_InitModule3
(
"cAccessControl"
,
cAccessControl_methods
,
"$Id: cAccessControl.c,v 1.1
6 2002/04/12 15:21:47
matt Exp $
\n
"
);
"$Id: cAccessControl.c,v 1.1
7 2002/07/23 14:08:55
matt Exp $
\n
"
);
aq_init
();
/* For Python <= 2.1.1, aq_init() should be after
Py_InitModule(). */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment