Fix a crash while trying to read nodes on amd64, reported in PR/41494,
commit73445746aa6f5605b55aab5cb8d17db50161c52a
authorNicolas Joly <njoly@NetBSD.org>
Thu, 28 May 2009 10:07:06 +0000 (28 10:07 +0000)
committerNicolas Joly <njoly@NetBSD.org>
Thu, 28 May 2009 10:07:06 +0000 (28 10:07 +0000)
tree53a51f7496d4b92e2c4f8872a3e604d94272ce04
parent971d2bdc5947c57cf4bf6e8ec7aed4fc0e5ace9f
Fix a crash while trying to read nodes on amd64, reported in PR/41494,
by not doing any transfert when offset exceed the actual data length.

From and ok by pooka@.
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c