Re: [Nfs-ganesha-devel] Unbounded memory allocations (based on client data)

2016-03-01 Thread William Allen Simpson
On 3/1/16 4:18 PM, Dominique Martinet wrote: > Anyway, I'm a bit at lost right now, will go see you again when I'm back > on this. > This sounds like the problems I had debugging nTI-RPC duplex and some others. Matt had already done a re-write of the original functions, splitting them into

Re: [Nfs-ganesha-devel] Unbounded memory allocations (based on client data)

2016-03-01 Thread Matt Benjamin
As I understand it, various max values will be in use, depending on the structure being decoded. The original ~0 probably should have been a constant. Matt - Original Message - > From: "William Allen Simpson" > To:

Re: [Nfs-ganesha-devel] Unbounded memory allocations (based on client data)

2016-03-01 Thread William Allen Simpson
On 2/29/16 6:12 PM, Dominique Martinet wrote: > @@ -4070,7 +4069,7 @@ extern "C" { > return false; > if (!xdr_array > (xdrs, (char **)>na41_aces.na41_aces_val, > -(u_int *) >na41_aces.na41_aces_len, ~0, > +