VERSION.sh | 2 +-
ldap/servers/plugins/replication/cl5_api.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit c769b4eaa3b9a178533fb86e2e91b7f6c840f2db
Author: Noriko Hosoi <nhosoi(a)redhat.com>
Date: Fri Sep 13 11:38:45 2013 -0700
bump version to 1.3.1.9
diff --git a/VERSION.sh b/VERSION.sh
index 81cd911..d92eb09 100644
--- a/VERSION.sh
+++ b/VERSION.sh
@@ -10,7 +10,7 @@ vendor="389 Project"
# PACKAGE_VERSION is constructed from these
VERSION_MAJOR=1
VERSION_MINOR=3
-VERSION_MAINT=1.8
+VERSION_MAINT=1.9
# if this is a PRERELEASE, set VERSION_PREREL
# otherwise, comment it out
# be sure to include the dot prefix in the prerel
commit ac8aad8260d3e5ed403e2d4a9967447a97925ba7
Author: Thierry bordaz (tbordaz) <tbordaz(a)redhat.com>
Date: Wed Sep 11 11:08:58 2013 +0200
Ticket 47489 - Under specific values of nsDS5ReplicaName, replication may get broken
or updates missing
Bug Description:
If the 'nsDS5ReplicaName' (of a replica), contains the database suffix (e.g.
'db', 'db3' or 'db4).
Then replication plugin fails to open the changelog. It could conduct to changelog
being recreated or some
last updates to be corrupted.
A consequence that I can reproduce, is that some updates may be removed from the
changelog and missing
updates on consumers.
This could conduct to replication break, if for example an entry created is not
replicated and then later updated.
Fix Description:
The fix consist to use 'PL_strrstr' rather than 'strstr' to check the
database suffix is valid
https://fedorahosted.org/389/ticket/47489
Reviewed by: Rich Megginson (thanks Rich !)
Platforms tested: Fedora 17
Flag Day: no
Doc impact: no
(cherry picked from commit 7a7609d88caf9c0971e694d7eeb78f30aea7fec9)
diff --git a/ldap/servers/plugins/replication/cl5_api.c
b/ldap/servers/plugins/replication/cl5_api.c
index 0a70d6b..7bedc2c 100644
--- a/ldap/servers/plugins/replication/cl5_api.c
+++ b/ldap/servers/plugins/replication/cl5_api.c
@@ -6161,7 +6161,7 @@ static int _cl5FileEndsWith(const char *filename, const char *ext)
{
return 0;
}
- p = strstr(filename, ext);
+ p = PL_strrstr(filename, ext);
if (NULL == p)
{
return 0;