mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
Fix uninitialized struct berval* to avoid assert in dnNormalize
This commit is contained in:
parent
b735ca3237
commit
a61b777cdc
3 changed files with 6 additions and 6 deletions
|
|
@ -373,7 +373,7 @@ add_values(
|
||||||
int rc;
|
int rc;
|
||||||
int j;
|
int j;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
@ -448,7 +448,7 @@ delete_values(
|
||||||
int rc;
|
int rc;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
|
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
|
||||||
|
|
@ -374,7 +374,7 @@ add_values(
|
||||||
int rc;
|
int rc;
|
||||||
int j;
|
int j;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
@ -460,7 +460,7 @@ delete_values(
|
||||||
int rc;
|
int rc;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
|
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
|
||||||
|
|
@ -337,7 +337,7 @@ add_values( Entry *e, Modification *mod, int *newlevel )
|
||||||
int rc;
|
int rc;
|
||||||
int j;
|
int j;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
@ -418,7 +418,7 @@ delete_values( Entry *e, Modification *mod, int *newlevel )
|
||||||
int rc;
|
int rc;
|
||||||
const char *text = NULL;
|
const char *text = NULL;
|
||||||
|
|
||||||
struct berval *asserted;
|
struct berval *asserted = NULL;
|
||||||
|
|
||||||
rc = value_normalize( mod->sm_desc,
|
rc = value_normalize( mod->sm_desc,
|
||||||
SLAP_MR_EQUALITY,
|
SLAP_MR_EQUALITY,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue