mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fix crash when no-op control is used (ITS#5358)
This commit is contained in:
parent
4db84db74b
commit
a1612ae911
1 changed files with 2 additions and 0 deletions
|
|
@ -739,6 +739,8 @@ retry: /* transaction retry */
|
|||
} else {
|
||||
rs->sr_err = LDAP_X_NO_OPERATION;
|
||||
ltid = NULL;
|
||||
/* Only free attrs if they were dup'd. */
|
||||
if ( dummy.e_attrs == e->e_attrs ) dummy.e_attrs = NULL;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue