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)
Fri, Apr 26, 1:20 AM
Unknown Object (File)
Jan 30 2024, 5:20 PM
Unknown Object (File)
Jan 12 2024, 6:11 AM
Unknown Object (File)
Dec 22 2023, 11:37 PM
Unknown Object (File)
Nov 26 2023, 9:57 AM
Unknown Object (File)
Nov 25 2023, 2:29 PM
Unknown Object (File)
Nov 22 2023, 7:05 PM
Unknown Object (File)
Nov 22 2023, 7:04 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