From ce856bd5c23500936e97f8641d98cc29172842d6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 15 Aug 2000 17:01:40 +0000 Subject: [PATCH] ber_bvstr() shouldn't play games with input string. --- libraries/liblber/memory.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 861dd3a23a..b908c40b7d 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -498,12 +498,6 @@ ber_bvstr( return NULL; } - if ( *s == '\0' ) { - new->bv_val = NULL; - new->bv_len = 0; - return new; - } - new->bv_val = (char *) s; new->bv_len = strlen( s ); -- 2.39.5