mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
In entry_decode, must null-terminate a_nvals array
This commit is contained in:
parent
64be098f28
commit
01c56e0044
@ -707,6 +707,8 @@ int entry_decode(struct berval *bv, Entry **e)
|
||||
return rc;
|
||||
}
|
||||
}
|
||||
a->a_nvals[j].bv_val = NULL;
|
||||
a->a_nvals[j].bv_len = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user