diff options
author | Phil Sutter <phil@nwl.cc> | 2025-05-14 19:36:01 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2025-07-22 10:34:19 +0200 |
commit | 786b75f7c9b9feaa294da097c2e9727747162c79 (patch) | |
tree | 987b8637acd78d7b6770b63220d84890eecb4279 /extensions/libxt_TCPMSS.c | |
parent | d33c6ad308cf7b9f627aeed48a5163c0374b5035 (diff) |
libxtables: Promote xtopt_esize_by_type() as xtopt_psize getter
Apart from supporting range-types, this getter is convenient to sanitize
array out of bounds access. Use it in xtables_option_metavalidate() to
simplify the code a bit.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Reviewed-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_TCPMSS.c')
0 files changed, 0 insertions, 0 deletions