[SCM] Samba Shared Repository - branch master updated
Michael Adam
obnox at samba.org
Thu Sep 19 01:43:02 CEST 2013
The branch, master has been updated
via d9bf88d Fix SEGV from improperly formed SUBSTRING/PRESENCE filter
from 31ca4fc OpenLDAP provisioning tweaks
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit d9bf88dc749cdbc34f70345b156b0117ecf2932b
Author: Howard Chu <hyc at symas.com>
Date: Tue Sep 17 22:14:20 2013 -0700
Fix SEGV from improperly formed SUBSTRING/PRESENCE filter
Signed-off-by: Howard Chu <hyc at symas.com>
Reviewed-by: Simo Sorce <idra at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Michael Adam <obnox at samba.org>
Autobuild-User(master): Michael Adam <obnox at samba.org>
Autobuild-Date(master): Thu Sep 19 01:42:43 CEST 2013 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
lib/ldb/ldb_map/ldb_map_outbound.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/ldb/ldb_map/ldb_map_outbound.c b/lib/ldb/ldb_map/ldb_map_outbound.c
index c6c86e3..5be5e76 100644
--- a/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/lib/ldb/ldb_map/ldb_map_outbound.c
@@ -848,7 +848,7 @@ int map_subtree_collect_remote_simple(struct ldb_module *module, void *mem_ctx,
int i;
/* Map value */
(*new)->u.substring.chunks = NULL;
- for (i=0; tree->u.substring.chunks[i]; i++) {
+ for (i=0; tree->u.substring.chunks && tree->u.substring.chunks[i]; i++) {
(*new)->u.substring.chunks = talloc_realloc(*new, (*new)->u.substring.chunks, struct ldb_val *, i+2);
if (!(*new)->u.substring.chunks) {
talloc_free(*new);
--
Samba Shared Repository
More information about the samba-cvs
mailing list