mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
properly initialize acl_attrval_style (ITS#6520)
This commit is contained in:
parent
68ce33cd77
commit
ed92b02856
2 changed files with 4 additions and 1 deletions
|
|
@ -344,6 +344,7 @@ parse_acl(
|
|||
goto fail;
|
||||
}
|
||||
a = (AccessControl *) ch_calloc( 1, sizeof(AccessControl) );
|
||||
a->acl_attrval_style = ACL_STYLE_NONE;
|
||||
for ( ++i; i < argc; i++ ) {
|
||||
if ( strcasecmp( argv[i], "by" ) == 0 ) {
|
||||
i--;
|
||||
|
|
|
|||
|
|
@ -1285,7 +1285,9 @@ typedef enum slap_style_e {
|
|||
ACL_STYLE_SELF,
|
||||
ACL_STYLE_IP,
|
||||
ACL_STYLE_IPV6,
|
||||
ACL_STYLE_PATH
|
||||
ACL_STYLE_PATH,
|
||||
|
||||
ACL_STYLE_NONE
|
||||
} slap_style_t;
|
||||
|
||||
typedef struct AuthorizationInformation {
|
||||
|
|
|
|||
Loading…
Reference in a new issue