summaryrefslogtreecommitdiff
path: root/scripts/depmod.sh
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2017-10-08 20:11:20 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-01-10 19:14:01 +0300
commitbc28fe1d5ede887312a329d06ac7ba1ba51d0d85 (patch)
tree37418a17415ff2637009d982fe9a59130c408200 /scripts/depmod.sh
parent24161a6711c94598fdebb0aac1301881ada47908 (diff)
downloadlinux-bc28fe1d5ede887312a329d06ac7ba1ba51d0d85.tar.xz
kconfig: Don't leak 'option' arguments during parsing
The following strings would leak before this change: - option env="LEAKED" - option defconfig_list="LEAKED" These come in the form of T_WORD tokens and are always allocated on the heap in zconf.l. Free them. Summary from Valgrind on 'menuconfig' (ARCH=x86) before the fix: LEAK SUMMARY: definitely lost: 344,616 bytes in 14,355 blocks ... Summary after the fix: LEAK SUMMARY: definitely lost: 344,568 bytes in 14,352 blocks ... Signed-off-by: Ulf Magnusson <ulfalizer@gmail.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/depmod.sh')
0 files changed, 0 insertions, 0 deletions