Skip to content
Snippets Groups Projects
Commit a61b777c authored by Howard Chu's avatar Howard Chu
Browse files

Fix uninitialized struct berval* to avoid assert in dnNormalize

parent b735ca32
No related branches found
No related tags found
No related merge requests found
......@@ -373,7 +373,7 @@ add_values(
int rc;
int j;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......@@ -448,7 +448,7 @@ delete_values(
int rc;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......
......@@ -374,7 +374,7 @@ add_values(
int rc;
int j;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......@@ -460,7 +460,7 @@ delete_values(
int rc;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......
......@@ -337,7 +337,7 @@ add_values( Entry *e, Modification *mod, int *newlevel )
int rc;
int j;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......@@ -418,7 +418,7 @@ delete_values( Entry *e, Modification *mod, int *newlevel )
int rc;
const char *text = NULL;
struct berval *asserted;
struct berval *asserted = NULL;
rc = value_normalize( mod->sm_desc,
SLAP_MR_EQUALITY,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment