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)
Sun, Aug 23, 12:45 AM
Unknown Object (File)
Sat, Aug 22, 9:47 PM
Unknown Object (File)
Sat, Aug 22, 8:43 AM
Unknown Object (File)
Fri, Aug 21, 4:19 AM
Unknown Object (File)
Wed, Aug 19, 5:21 PM
Unknown Object (File)
Wed, Aug 19, 4:41 AM
Unknown Object (File)
Tue, Aug 18, 10:06 AM
Unknown Object (File)
Thu, Aug 13, 8:29 PM
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