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, Nov 30, 11:36 PM
Unknown Object (File)
Thu, Nov 20, 11:15 PM
Unknown Object (File)
Thu, Nov 20, 11:12 PM
Unknown Object (File)
Thu, Nov 20, 11:11 PM
Unknown Object (File)
Thu, Nov 20, 11:04 PM
Unknown Object (File)
Wed, Nov 12, 11:41 PM
Unknown Object (File)
Nov 8 2025, 12:16 AM
Unknown Object (File)
Nov 7 2025, 11:00 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