Subject: CVS commit: [netbsd-3-0] src/lib/libc/rpc
To: None <source-changes@NetBSD.org>
From: Julian Coleman <jdc@netbsd.org>
List: source-changes
Date: 01/26/2006 21:30:52
Module Name: src
Committed By: jdc
Date: Thu Jan 26 21:30:52 UTC 2006
Modified Files:
src/lib/libc/rpc [netbsd-3-0]: xdr_rec.c
Log Message:
Pull up revision 1.26 (requested by christos in ticket #1128).
PR/32572: John Kohl: xdr_rec.c missing a bugfix for an improper security check
The correct way to check for a zero record length is to check for it
without the LAST_FRAG marker in it, since it's legal to send a LAST_FRAG
marker with 0 bytes of data.
To generate a diff of this commit:
cvs rdiff -r1.24.6.1 -r1.24.6.1.2.1 src/lib/libc/rpc/xdr_rec.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.