diff options
author | Dan Carpenter <[email protected]> | 2013-10-29 23:00:15 +0300 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-10-30 12:24:49 -0700 |
commit | b5e2f339865fb443107e5b10603e53bbc92dc054 (patch) | |
tree | 1d6d0b95d4efb6894cfc1d7c13c731e287da4278 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f856567b930dfcdbc3323261bf77240ccdde01f5 (diff) |
staging: wlags49_h2: buffer overflow setting station name
We need to check the length parameter before doing the memcpy(). I've
actually changed it to strlcpy() as well so that it's NUL terminated.
You need CAP_NET_ADMIN to trigger these so it's not the end of the
world.
Reported-by: Nico Golde <[email protected]>
Reported-by: Fabian Yamaguchi <[email protected]>
Signed-off-by: Dan Carpenter <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions