diff options
author | Florian Westphal <fw@strlen.de> | 2023-12-01 14:16:14 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-12-03 12:33:16 +0100 |
commit | 26723202e600604ab7cf48915507cfcb7a313620 (patch) | |
tree | 2bd8e652f6be46b3b50b8a1c895449e8f71434ee /tests/shell/helpers | |
parent | c9c2f54c6fb8f9303372202eab5b3e00088c7577 (diff) |
evaluate: prevent assert when evaluating very large shift values
Error out instead of 'nft: gmputil.c:67: mpz_get_uint32: Assertion `cnt <= 1' failed.'.
Fixes: edecd58755a8 ("evaluate: support shifts larger than the width of the left operand")
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/helpers')
0 files changed, 0 insertions, 0 deletions