summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorTaehee Yoo <ap420073@gmail.com>2018-11-16 15:32:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-17 11:24:33 +0300
commitfb0fc90cc20fdd857d30f4fbfa6bceecc99c5451 (patch)
tree89e553cfe57b868f824c8390dc52dfaeff779f39 /drivers/hwmon
parentdf66ef67c3344b767b3d1d8396d4a3e81942c4e9 (diff)
downloadlinux-fb0fc90cc20fdd857d30f4fbfa6bceecc99c5451.tar.xz
netfilter: xt_hashlimit: fix a possible memory leak in htable_create()
[ Upstream commit b4e955e9f372035361fbc6f07b21fe2cc6a5be4a ] In the htable_create(), hinfo is allocated by vmalloc() So that if error occurred, hinfo should be freed. Fixes: 11d5f15723c9 ("netfilter: xt_hashlimit: Create revision 2 to support higher pps rates") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions