diff options
author | Phil Sutter <phil@nwl.cc> | 2018-09-19 15:16:48 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2018-09-24 11:23:57 +0200 |
commit | d0c1f1b4ad4e3b91220a03514031ee879db832d0 (patch) | |
tree | 902e64760974ca641cea1d1ad57cabd3be5fc030 /extensions/libxt_connlabel.man | |
parent | 23ef6f06c89f1ebc2bc65850b21de69aed8279e3 (diff) |
libxt_LED: Avoid string overrun while parsing led-trigger-id
Instead of using strcat() and assuming the name will fit, print into the
buffer using snprintf() which truncates the string as needed.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions/libxt_connlabel.man')
0 files changed, 0 insertions, 0 deletions