On Fri, Nov 15, 2013 at 10:31:25AM +0800, Jeff Liu wrote: > From: Jie Liu <[email protected]> > > In skcipher_alloc_sgl(), there is a potential null pointer dereference > issue to retrieve the last item from ctx->tsgl list if the list is empty. > > This patch fix it by checking if the list is empty or not at first. > > Signed-off-by: Jie Liu <[email protected]>
Were you actually able to make this crash? -- Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
