Skip Menu |
 

There are some fixed-size buffer issues in RPCSEC_GSS. These show up
most obviously with the listprincs kadmin command against a large
database. I'm working on fixes.
From: tlyu@mit.edu
Subject: CVS Commit
* authgss_prot.c (xdr_rpc_gss_wrap_data): Use xdr_alloc to avoid
size limit issues. Use (unsigned int)-1 instead of MAX_NETOBJ_SZ.
(xdr_rpc_gss_unwrap_data): Use (unsigned int)-1 instead of
MAX_NETOBJ_SZ.

* xdr.c (xdr_bytes): Don't assign from *sizep if XDR_FREE, since
it'll be uninitialized then. Shuts up Purify.


To generate a diff of this commit:



cvs diff -r1.120 -r1.121 krb5/src/lib/rpc/ChangeLog
cvs diff -r1.4 -r1.5 krb5/src/lib/rpc/authgss_prot.c
cvs diff -r1.19 -r1.20 krb5/src/lib/rpc/xdr.c
From: tlyu@mit.edu
Subject: CVS Commit
Fix braino in previous change to xdr_bytes. New test case for
RPCSEC_GSS fixed-size buffers.


To generate a diff of this commit:



cvs diff -r1.121 -r1.122 krb5/src/lib/rpc/ChangeLog
cvs diff -r1.5 -r1.6 krb5/src/lib/rpc/authgss_prot.c
cvs diff -r1.20 -r1.21 krb5/src/lib/rpc/xdr.c
cvs diff -r1.72 -r1.73
krb5/src/tests/dejagnu/krb-standalone/ChangeLog
cvs diff -r1.22 -r1.23
krb5/src/tests/dejagnu/krb-standalone/kadmin.exp
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.119.2.1 -r1.119.2.2 krb5/src/lib/rpc/ChangeLog
cvs diff -r1.4 -r1.4.4.1 krb5/src/lib/rpc/authgss_prot.c
cvs diff -r1.70.6.1 -r1.70.6.2
krb5/src/tests/dejagnu/krb-standalone/ChangeLog
cvs diff -r1.22 -r1.22.8.1
krb5/src/tests/dejagnu/krb-standalone/kadmin.exp