The alg instance should be released under the exception path, otherwise
there may be resource leak here.
To mitigate this, free the alg instance with crypto_free_shash when kmalloc
fails.
Fixes:
|
||
|---|---|---|
| .. | ||
| builtin | ||
| Kconfig | ||
| Makefile | ||
| fallback.c | ||
| fallback.h | ||
| fallback_platform.c | ||
| fallback_table.c | ||
| firmware.h | ||
| main.c | ||
| sysfs.c | ||
| sysfs.h | ||
| sysfs_upload.c | ||
| sysfs_upload.h | ||