fix ITS#1662 - ber_bvstrdup() empty string () bug

This commit is contained in:
Pierangelo Masarati 2002-03-23 17:39:08 +00:00
parent 75c6d86e7a
commit fa076be37d
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -529,7 +529,7 @@ ber_bvstrdup(
new = ber_bvstr( p );
if( new == NULL || *p == '\0' ) {
if( new == NULL ) {
LBER_FREE( p );
}