diff options
author | Phil Sutter <phil@nwl.cc> | 2017-12-14 20:40:22 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-12-15 16:22:46 +0100 |
commit | 8f228f6842494ea7f83ff9aaa19ec32681628c9f (patch) | |
tree | 4ad978e83f9c24f6a7ca3c7f7495e1229bfd29b8 /include/udata.h | |
parent | fd9ab5c922cd8d15e8f0251c70bcd9532158e9b0 (diff) |
object: Avoid returning garbage in nftnl_obj_do_parse()
It may happen that 'perr' variable does not get initialized, so making
parameter 'err' point to it in any case is error-prone. Avoid this by
initializing 'perr' upon declaration.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/udata.h')
0 files changed, 0 insertions, 0 deletions