Date: Sun, 10 Apr 2011 14:11:07 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/rpc svc_vc.c Message-ID: <201104101411.p3AEBKTb083208@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2011-04-10 14:11:07 UTC
FreeBSD src repository
Modified files:
lib/libc/rpc svc_vc.c
Log:
SVN rev 220519 on 2011-04-10 14:11:07Z by rmacklem
Fix a bug in the userland rpc library, where it would use a
negative return value from write to update its position in
a buffer. The patch, courtesy of Andrey Simonenko, also simplifies
a conditional by removing the "i != cnt" clause, since it is
always true at this point in the code. The bug caused problems
for mountd, when it generated a large reply to an exports RPC
request.
Submitted by: simon at comsys.ntu-kpi.kiev.ua
MFC after: 2 weeks
Revision Changes Path
1.29 +2 -1 src/lib/libc/rpc/svc_vc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104101411.p3AEBKTb083208>
