]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Prevent OOB with huge amount of symbols
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 20 Oct 2024 14:32:17 +0000 (16:32 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Tue, 22 Oct 2024 17:23:42 +0000 (12:23 -0500)
commit33e3d24cdb270cdfab71e9bd1c856e6430b3c11e
tree4e61c3bb8e4ad67be3707748b52d238692ee2a9e
parent823849a05aa611cbf82fce1587c97129c4e20a2c
libkmod: Prevent OOB with huge amount of symbols

On 32 bit systems it's possible to overflow the final calculation of
required memory for symbols retrieved from __ksymtab_strings.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/198
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c