#716 Unused newauthtok variable in LOCAL_pam_handler
Closed: Fixed None Opened 13 years ago by sgallagh.

After this line, the value of "newauthtok" is equal to 0.
Assigning: "newauthtok" = "NULL".
  233    char *newauthtok = NULL;

...

On this path, the condition "newauthtok != NULL" cannot be true.
  355    if (newauthtok != NULL)
Execution cannot reach this statement "memset(newauthtok, 0, pd->n...".
  356        memset(newauthtok, 0, pd->newauthtok_size);

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.5.1

Fixed by a521396

coverity: => 10007
milestone: SSSD 1.5.1 => SSSD 1.5.0
resolution: => fixed
status: new => closed

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.5.0

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1758

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata