Page MenuHomeFreeBSD

pam_krb5: Clarify a loop condition.
ClosedPublic

Authored by des on Aug 3 2023, 3:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 11, 7:29 AM
Unknown Object (File)
Fri, Oct 11, 7:10 AM
Unknown Object (File)
Oct 3 2024, 2:39 AM
Unknown Object (File)
Oct 1 2024, 2:13 AM
Unknown Object (File)
Sep 19 2024, 10:17 AM
Unknown Object (File)
Sep 19 2024, 5:27 AM
Unknown Object (File)
Sep 18 2024, 1:02 PM
Unknown Object (File)
Sep 18 2024, 7:10 AM
Subscribers

Details

Summary

The closing parenthesis was in the wrong location, so instead of assigning the return value to krbret and then comparing it to zero, we were assigning the result of the comparison to krbret and then comparing that to zero. This has no practical significance since the value is not used after the loop terminates.

PR: 229719

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable