mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-22 23:02:55 -05:00
mr should not be NULL; fixes ITS#2196
This commit is contained in:
parent
7091853dfc
commit
95f75aaf15
1 changed files with 4 additions and 1 deletions
|
|
@ -324,7 +324,10 @@ value_match(
|
|||
struct berval nv1 = { 0, NULL };
|
||||
struct berval nv2 = { 0, NULL };
|
||||
|
||||
if( !mr->smr_match ) {
|
||||
/*
|
||||
* FIXME: mr should NOT be NULL ...
|
||||
*/
|
||||
if( !mr || !mr->smr_match ) {
|
||||
return LDAP_INAPPROPRIATE_MATCHING;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue