]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[CRYPTO] cryptomgr: Fix parsing of recursive algorithms
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 28 Sep 2007 01:06:11 +0000 (09:06 +0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:45 +0000 (16:55 -0700)
commit720a650f8ab3166d32fc5da64961e8d2158b9452
tree87676471c8550ec09935982a910bda5454928d92
parentf19f5111c94053ba4931892f5c01c806de33942e
[CRYPTO] cryptomgr: Fix parsing of recursive algorithms

As Joy Latten points out, inner algorithm parameters will miss the closing
bracket which will also cause the outer algorithm to terminate prematurely.

This patch fixes that also kills the WARN_ON if the number of parameters
exceed the maximum as that is a user error.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/cryptomgr.c