diff options
author | Jann Horn <jannh@google.com> | 2018-06-20 19:33:45 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-06-26 17:48:23 +0300 |
commit | dffd22aed2aa1e804bccf19b30a421e89ee2ae61 (patch) | |
tree | 527ee8d7048c5e0df7398273a7bac5cac5bda6c5 /sound/parisc | |
parent | ad9852af97587b8abe8102f9ddcb05c9769656f6 (diff) | |
download | linux-dffd22aed2aa1e804bccf19b30a421e89ee2ae61.tar.xz |
netfilter: nf_log: fix uninit read in nf_log_proc_dostring
When proc_dostring() is called with a non-zero offset in strict mode, it
doesn't just write to the ->data buffer, it also reads. Make sure it
doesn't read uninitialized data.
Fixes: c6ac37d8d884 ("netfilter: nf_log: fix error on write NONE to [...]")
Signed-off-by: Jann Horn <jannh@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'sound/parisc')
0 files changed, 0 insertions, 0 deletions