Subject: CVS commit: src/lib/libc/rpc
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 01/19/2006 16:40:44
Module Name: src
Committed By: christos
Date: Thu Jan 19 16:40:44 UTC 2006
Modified Files:
src/lib/libc/rpc: xdr_rec.c
Log Message:
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.
[This should be pulled up to 3.0]
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 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.