]> git.ipfire.org Git - thirdparty/kmod.git/commit
depmod: Check strdup return value
authorTobias Stoeckmann <tobias@stoeckmann.org>
Tue, 10 Sep 2024 18:06:11 +0000 (20:06 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 17 Sep 2024 03:40:26 +0000 (22:40 -0500)
commitec0c0f8520c2edcba63e0443946505985bbf9541
treeb5f66ee72b15c41f18d0fe9491c4dc96d318f0b2
parent7c624d3088880ad3c5845169ce3e10a2f9d9ccbd
depmod: Check strdup return value

If strdup fails, return error.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Link: https://github.com/kmod-project/kmod/pull/130
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
tools/depmod.c