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)
Wed, Mar 25, 8:13 PM
Unknown Object (File)
Tue, Mar 24, 3:51 AM
Unknown Object (File)
Feb 28 2026, 11:06 PM
Unknown Object (File)
Feb 21 2026, 10:37 PM
Unknown Object (File)
Feb 16 2026, 2:10 PM
Unknown Object (File)
Feb 16 2026, 10:45 AM
Unknown Object (File)
Feb 14 2026, 4:56 PM
Unknown Object (File)
Jan 26 2026, 4:15 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