[PATCH v2] evm: Fix memory leak in init_desc
zohar at linux.ibm.com
Mon Jan 11 13:46:40 UTC 2021
On Sun, 2021-01-10 at 11:50 +0100, Markus Elfring wrote:
> > When kmalloc() fails, tmp_tfm allocated by
> > crypto_alloc_shash() has not been freed, which
> > leads to memleak.
In the future, please conform to Documentation/process/submitting-
- The body of the explanation, line wrapped at 75 columns, which will
be copied to the permanent changelog to describe this patch.
> Do any Linux developers care for the following aspects?
> * Imperative wordings for change descriptions
> * Usage of the term “memory leak” (instead of an abbreviation)
In general I agree, but this is a really small, obvious bug fix.
Assuming Dinghao is fine with my updating the patch description, I'll
More information about the Linux-security-module-archive