]> git.ipfire.org Git - thirdparty/kmod.git/commit
libkmod: Validate symbol names in ELF files
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 1 Nov 2024 21:50:08 +0000 (22:50 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 7 Nov 2024 19:40:36 +0000 (13:40 -0600)
commit0930e7b49267ed989f375a2270f263a1cb00cc41
tree1279a597f1bcbf6367908ca1db03ace985138549
parent2213612e19ea64d86a424b2dc51182ea3633b7b2
libkmod: Validate symbol names in ELF files

Make sure that symbol names in ELF files are actually NUL terminated.

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/222
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c