From 074f54f300caf3d5c02a4c33cd9d6a01f8cc4ce7 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 19 May 2003 21:10:49 +0000 Subject: [PATCH] clarify the size of a generalizedTime --- servers/slapd/schema_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 0cb230945d..eccdd53baf 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -2155,7 +2155,7 @@ generalizedTimeNormalize( return rc; } - normalized->bv_val = sl_malloc( 16, ctx ); + normalized->bv_val = sl_malloc( sizeof("YYYYmmddHHMMSSZ"), ctx ); if ( normalized->bv_val == NULL ) { return LBER_ERROR_MEMORY; } -- 2.39.5