“65c011845316d3c1381f478ca0d8265c43b3b039”上不存在“arch/x86/kernel/cpu/microcode/intel.c”
NFC: fix resource leak when target index is invalid
stable inclusion from stable-5.10.13 commit e10a1aad5f7cc969a78424c8b28cafdbb9299c8f bugzilla: 47995 -------------------------------- commit 3a30537c upstream. Goto to the label put_dev instead of the label error to fix potential resource leak on path that the target index is invalid. Fixes: c4fbb651 ("NFC: The core part should generate the target index") Signed-off-by: NPan Bian <bianpan2016@163.com> Link: https://lore.kernel.org/r/20210121152748.98409-1-bianpan2016@163.comSigned-off-by: NJakub Kicinski <kuba@kernel.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录