Skip to content
Permalink
Browse files Browse the repository at this point in the history
zero the arep structure (Coverity #115822)
  • Loading branch information
kravietz committed May 5, 2016
1 parent f8fa072 commit e4c00eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pam_tacplus.c
Expand Up @@ -516,6 +516,7 @@ int pam_sm_acct_mgmt (pam_handle_t * pamh, int flags,
int tac_fd;

user = tty = r_addr = NULL;
memset(&arep, 0, sizeof(arep));

/* this also obtains service name for authorization
this should be normally performed by pam_get_item(PAM_SERVICE)
Expand Down

1 comment on commit e4c00eb

@carnil
Copy link

@carnil carnil commented on e4c00eb Apr 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CVE-2016-20014 is associated with this commit.

Please sign in to comment.