summaryrefslogtreecommitdiffstats
path: root/iptables/iptables.8.in
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-06-08 13:45:13 +0200
committerPhil Sutter <phil@nwl.cc>2022-06-11 11:47:03 +0200
commitda5b32fb4656ab69fe1156eb7e36c7c961839e8a (patch)
tree5e966d3024ab173b69f88432200f1b13c2285aaa /iptables/iptables.8.in
parent1bfb1d916e467e2bcbc44ce1a50a2be5c12b7ef8 (diff)
extensions: string: Review parse_string() function
* Compare against sizeof(info->pattern) which is more clear than having to know that this buffer is of size XT_STRING_MAX_PATTERN_SIZE * Invert the check and error early to reduce indenting * Pass info->patlen to memcpy() to avoid reading past end of 's' Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/iptables.8.in')
0 files changed, 0 insertions, 0 deletions