diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-07 16:27:01 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-08 17:20:06 +0300 |
commit | 016baaa1183bb0c5fb2a7de42413bba8a51c1bc8 (patch) | |
tree | b6a1705e4cf6a1d504532630fe923ef261f6b2a5 /Documentation/gpio | |
parent | 9cd223239a79df3cc758ecabb8473ca91599021b (diff) | |
download | linux-016baaa1183bb0c5fb2a7de42413bba8a51c1bc8.tar.xz |
crypto: user - Fix crypto_alg_match race
The function crypto_alg_match returns an algorithm without taking
any references on it. This means that the algorithm can be freed
at any time, therefore all users of crypto_alg_match are buggy.
This patch fixes this by taking a reference count on the algorithm
to prevent such races.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation/gpio')
0 files changed, 0 insertions, 0 deletions