summaryrefslogtreecommitdiffstats
path: root/tests/shell/testcases/bogons/nft-f/byteorder_switch_stack_overflow
Commit message (Collapse)AuthorAgeFilesLines
* netlink: fix stack overflow due to erroneous roundingFlorian Westphal2023-12-201-0/+6
Byteorder switch in this function may undersize the conversion buffer by one byte, this needs to use div_round_up(). Signed-off-by: Florian Westphal <fw@strlen.de>