]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363439:
authorBrooks Davis <brooks@FreeBSD.org>
Mon, 27 Jul 2020 23:18:14 +0000 (23:18 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Mon, 27 Jul 2020 23:18:14 +0000 (23:18 +0000)
commit0b9d9807c184c1c4460d005787dc237a4d7b83c7
tree74b2701b4dd6216e504a510949da8dcab7260821
parentcdbc96b385d68a5285ef9f3d32425b61612a9ae7
MFC r363439:

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

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.

Reviewed by: emaste
Reported by: CHERI
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D25779
usr.sbin/mountd/mountd.c