Page MenuHomeFreeBSD

Correct a type-mismatch between xdr_long and the variable "bad".
ClosedPublic

Authored by brooks on Jul 22 2020, 10:05 PM.

Details

Summary

Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD
information leak fix via OpenBSD. Unfortunatly we failed to track the
followup commit that fixed the type of the error code. Apply the change
from int to long now.

This bug was rediscovered on CheriBSD where hardware bounds make it a
fault.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.