summaryrefslogtreecommitdiffstats
path: root/libiptc
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-19 15:16:48 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-24 11:23:57 +0200
commitd0c1f1b4ad4e3b91220a03514031ee879db832d0 (patch)
tree902e64760974ca641cea1d1ad57cabd3be5fc030 /libiptc
parent23ef6f06c89f1ebc2bc65850b21de69aed8279e3 (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 'libiptc')
0 files changed, 0 insertions, 0 deletions