]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340662 (rmacklem):
authoremaste <emaste@FreeBSD.org>
Fri, 23 Nov 2018 20:39:37 +0000 (20:39 +0000)
committeremaste <emaste@FreeBSD.org>
Fri, 23 Nov 2018 20:39:37 +0000 (20:39 +0000)
commitfe76d3bb3652e99c2baf2fbc967b565b9592a97a
tree103a7218753f9a37f34801dfd30d760bc5d91f05
parenta59055d645b322ff2303584585eb4fd5dd5981bd
MFC r340662 (rmacklem):

nfsm_advance() would panic() when the offs argument was negative.
The code assumed that this would indicate a corrupted mbuf chain, but
it could simply be caused by bogus RPC message data.
This patch replaces the panic() with a printf() plus error return.
sys/fs/nfs/nfs_commonsubs.c