[SCM] Samba Shared Repository - branch master updated
Matthieu Patou
mat at samba.org
Mon Aug 5 16:33:02 MDT 2013
The branch, master has been updated
via 0602009 pyldb: decrement ref counters on py_results and quiet warnings
from c4cba82 Fix bug #10010 - Missing integer wrap protection in EA list reading can cause server to loop with DOS.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0602009b999142187d74b74be13de8c7f64c7b24
Author: Matthieu Patou <mat at matws.net>
Date: Wed Dec 26 21:36:50 2012 -0800
pyldb: decrement ref counters on py_results and quiet warnings
Signed-off-by: Matthieu Patou <mat at matws.net>
Reviewed-by: Jelmer Vernooij <jelmer at samba.org>
Autobuild-User(master): Matthieu Patou <mat at samba.org>
Autobuild-Date(master): Tue Aug 6 00:32:46 CEST 2013 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
lib/ldb/pyldb.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c
index 8c9d6b9..ec6c7d0 100644
--- a/lib/ldb/pyldb.c
+++ b/lib/ldb/pyldb.c
@@ -3088,6 +3088,8 @@ static int py_module_request(struct ldb_module *mod, struct ldb_request *req)
py_result = PyObject_CallMethod(py_ldb, discard_const_p(char, "request"),
discard_const_p(char, ""));
+ Py_XDECREF(py_result);
+
return LDB_ERR_OPERATIONS_ERROR;
}
@@ -3099,6 +3101,8 @@ static int py_module_extended(struct ldb_module *mod, struct ldb_request *req)
py_result = PyObject_CallMethod(py_ldb, discard_const_p(char, "extended"),
discard_const_p(char, ""));
+ Py_XDECREF(py_result);
+
return LDB_ERR_OPERATIONS_ERROR;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list