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)
Mon, Apr 14, 9:05 AM
Unknown Object (File)
Mon, Apr 14, 4:21 AM
Unknown Object (File)
Mon, Apr 14, 1:21 AM
Unknown Object (File)
Sun, Apr 13, 11:02 PM
Unknown Object (File)
Fri, Apr 11, 7:56 PM
Unknown Object (File)
Thu, Mar 27, 10:23 PM
Unknown Object (File)
Feb 5 2025, 7:14 PM
Unknown Object (File)
Feb 4 2025, 7:35 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52958
Build 49849: arc lint + arc unit