netfilter: xt_recent: fix stack overread in compat code
Related-to: commit 325fb5b4 The compat path suffers from a similar problem. It only uses a __be32 when all of the recent code uses, and expects, an nf_inet_addr everywhere. As a result, addresses stored by xt_recents were filled with whatever other stuff was on the stack following the be32. Signed-off-by: NJan Engelhardt <jengelh@medozas.de> With a minor compile fix from Roman. Reported-and-tested-by: NRoman Hoog Antink <rha@open.ch> Signed-off-by: NPatrick McHardy <kaber@trash.net>
Showing
想要评论请 注册 或 登录