[lvc-project] [PATCH] exec: do not pass invalid pointer to kfree() from free_bprm()

Dmitry Antipov dmantipov at yandex.ru
Tue Nov 5 16:08:47 MSK 2024


On 11/5/24 2:30 PM, Mateusz Guzik wrote:

> The specific instance aside, perhaps kfree could get patched up to
> complain about it (when debug is enabled)?

Yes, it may be useful to have WARN_ON() from kfree() for such a case when debugging.

Dmitry




More information about the lvc-project mailing list