Re: [PATCH] crypto: fix a memory leak in rsa-kcs1pad's encryption mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 17, 2018 at 08:24:32PM +0300, Dan Aloni wrote:
> The encryption mode of pkcs1pad never uses out_sg and out_buf, so
> there's no need to allocate the buffer, which presently is not even
> being freed.
> 
> CC: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> CC: linux-crypto@xxxxxxxxxxxxxxx
> CC: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Signed-off-by: Dan Aloni <dan@xxxxxxxxxxxx>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux