diff options
author | Phil Sutter <phil@nwl.cc> | 2023-01-13 17:09:53 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-01-13 17:11:18 +0100 |
commit | d4d47e5bdf943be494aeb5d5a29b8f5212acbddf (patch) | |
tree | b80274d7d60010df6b8bba6a9b32d863ad5126a7 /py | |
parent | b83a0416cdc881c6ac35739cd858e4fe5fb2e04f (diff) |
optimize: Do not return garbage from stack
If input does not contain a single 'add' command (unusual, but
possible), 'ret' value was not initialized by nft_optimize() before
returning its value.
Fixes: fb298877ece27 ("src: add ruleset optimization infrastructure")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'py')
0 files changed, 0 insertions, 0 deletions