diff options
author | Phil Sutter <phil@nwl.cc> | 2018-09-10 23:35:14 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-13 10:47:52 +0200 |
commit | e6f986762667ee2b2d61e7978d460f28916158a3 (patch) | |
tree | bb082a4e8af6fec2b85ec17e91c46352b18fa5b3 /extensions/libxt_dccp.c | |
parent | 4144571f87c094471419ef59e8bb89ef33cd1365 (diff) |
libiptc: Avoid side-effect in memset() calls
These calls to memset() are passed a length argument which exceeds
t->target.u.user.name's length by one byte and hence overwrite
t->target.u.user.revision as well (relying upon no padding to happen
between both).
Avoid this obscure behaviour by passing the correct field size and
explicitly overwriting 'revision' field.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_dccp.c')
0 files changed, 0 insertions, 0 deletions