-
由 Jacob Garber 提交于
Valid pathnames will never exceed PATH_MAX, but these file names are unsanitized and can cause buffer overflow if set incorrectly. Use snprintf to avoid this. This was flagged during a Coverity scan of the coreboot project, which also uses kconfig for its build system. Signed-off-by: NJacob Garber <jgarber1@ualberta.ca> Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
b9d1a8e9