diff --git a/CHANGES b/CHANGES index 722236ab9c..6bff9e37ce 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,5 @@ OpenLDAP 2.0 Change Log + Fixed ber_bvstrdup() empty string ("") bug (ITS#1662) OpenLDAP 2.0.23 Release Fixed slapd moddn acl bug (ITS#1562) (ITS#1582) diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 799e85d293..95695affca 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -529,7 +529,7 @@ ber_bvstrdup( new = ber_bvstr( p ); - if( new == NULL || *p == '\0' ) { + if( new == NULL ) { LBER_FREE( p ); }