Commit 074f54f3 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

clarify the size of a generalizedTime

parent 60fc6860
......@@ -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;
}
......
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