Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-1-6] src/lib/libc/rpc



Module Name:    src
Committed By:   tron
Date:           Fri Mar 21 08:38:30 UTC 2003

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

Log Message:
Pull up revision 1.16 (requested by david in ticket #1224):
Don't do:
        if ((xdrp->x_handy -= need) < 0)
                return FALSE;
because by repeatedly calling this we can cause overflow, and then
overwrite
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.8.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.




Home | Main Index | Thread Index | Old Index