diff options
author | Florian Westphal <fw@strlen.de> | 2021-02-03 19:42:27 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2021-02-05 12:35:48 +0100 |
commit | 0c189656148d834b17aa9d98b0b11018bc9d2465 (patch) | |
tree | 8e21ff93bd0d910426bba52415c71602fa34168c /src/nfnl_osf.c | |
parent | 87ef765a9ad4477b324c06d187d8ea5e521ed2cf (diff) |
evaluate: do not crash if dynamic set has no statements
list_first_entry() returns garbage when the list is empty.
There is no need to run the following loop if we have no statements,
so just return 0.
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/nfnl_osf.c')
0 files changed, 0 insertions, 0 deletions