Date: Sun, 24 Apr 2011 22:12:00 +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: <201104242212.p3OMCNY0006687@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2011-04-24 22:12:00 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libc/rpc svc_vc.c Log: SVN rev 221000 on 2011-04-24 22:12:00Z by rmacklem MFC: r220519 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. Revision Changes Path 1.26.2.2 +2 -1 src/lib/libc/rpc/svc_vc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104242212.p3OMCNY0006687>