Null pointer passed as an argument
in line 181 in strcmp(ae->ae_password, password)
This commit is contained in:
parent
e6cf570807
commit
be49ddd007
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ access_verify(const char *username, const char *password,
|
|||
|
||||
if(ae->ae_username[0] != '*') {
|
||||
/* acl entry requires username to match */
|
||||
if(username == NULL)
|
||||
if(username == NULL || password == NULL)
|
||||
continue; /* Didn't get one */
|
||||
|
||||
if(strcmp(ae->ae_username, username) ||
|
||||
|
|
Loading…
Add table
Reference in a new issue