summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-12-30 20:24:17 +0800
committerLuis Henriques <luis.henriques@canonical.com>2016-02-02 19:09:54 +0000
commit080df2ea773d11a359a39c71a2501e2673363cc8 (patch)
tree7252b615688adeca7de590b1f7e66cc20e126f3d /include
parent529382a7cc33f5e12f54e44caa2bf09a5ad1fec0 (diff)
crypto: af_alg - Fix socket double-free when accept fails
commit a383292c86663bbc31ac62cc0c04fc77504636a6 upstream. When we fail an accept(2) call we will end up freeing the socket twice, once due to the direct sk_free call and once again through newsock. This patch fixes this by removing the sk_free call. Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions