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)
Thu, Jun 25, 11:54 PM
Unknown Object (File)
Wed, Jun 24, 9:26 PM
Unknown Object (File)
Thu, Jun 4, 4:11 AM
Unknown Object (File)
May 29 2026, 12:28 AM
Unknown Object (File)
May 18 2026, 2:33 AM
Unknown Object (File)
May 5 2026, 12:51 AM
Unknown Object (File)
Apr 27 2026, 10:00 AM
Unknown Object (File)
Apr 19 2026, 12:31 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52958
Build 49849: arc lint + arc unit