Commit 1c69a2ab authored by Howard Chu's avatar Howard Chu
Browse files

ITS#1998 ber_mem2bv should accept 0-length calls, just like ber_strdup.

parent 61731500
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment