mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 10:09:43 -05:00
ITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.
This commit is contained in:
parent
61731500d0
commit
1c69a2ab2b
1 changed files with 1 additions and 1 deletions
|
|
@ -531,7 +531,7 @@ ber_mem2bv(
|
|||
|
||||
ber_int_options.lbo_valid = LBER_INITIALIZED;
|
||||
|
||||
if( s == NULL || len == 0 ) {
|
||||
if( s == NULL ) {
|
||||
ber_errno = LBER_ERROR_PARAM;
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue