]> git.karo-electronics.de Git - mv-sheeva.git/commit
SUNRPC: Don't use variable length automatic arrays in kernel code
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 12 Mar 2012 17:29:05 +0000 (13:29 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Mon, 12 Mar 2012 17:37:16 +0000 (13:37 -0400)
commit0097143c12e279f5d454e0f636a02afff102cc6a
tree4c8c6bc4d3901f1d210d5d3d900368be1705f217
parent11588f493a2441f09ceb2088d07cc012b53cbf75
SUNRPC: Don't use variable length automatic arrays in kernel code

Replace the variable length array in the RPCSEC_GSS crypto code with
a fixed length one. The size should be bounded by the variable
GSS_KRB5_MAX_BLOCKSIZE, so use that.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/gss_krb5_crypto.c