Subject: CVS commit: [netbsd-1-5] src/lib/libc/rpc
To: None <>
From: SAITOH Masanobu <>
List: source-changes
Date: 03/27/2003 10:22:34
Module Name:	src
Committed By:	msaitoh
Date:		Thu Mar 27 08:22:33 UTC 2003

Modified Files:
	src/lib/libc/rpc [netbsd-1-5]: xdr_mem.c

Log Message:
Pull up revisions 1.16 (requested by David Maxwell in ticket #36):

  Don't do:
          if ((xdrp->x_handy -= need) < 0)
                  return FALSE;
  because by repeatedly calling this we can cause overflow, and then
  valid memory. Instead do:
          if (xdrp->x_handy < need)
                  return FALSE;
          xdrp->x_handy -= need;

To generate a diff of this commit:
cvs rdiff -r1.15 -r1.15.4.1 src/lib/libc/rpc/xdr_mem.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.