diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2009-05-15 11:07:56 +0800 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-05-14 23:55:12 -0400 |
commit | 5872144f64b34a5942f6b4acedc90b02de72c58b (patch) | |
tree | 65ab10576155c05d7ac319197896a31721f61499 /drivers/char/tty_ldisc.c | |
parent | 8cd995b6deedf98b7694ed32a786ee7f793d1eec (diff) |
tracing/filters: fix off-by-one bug
We should leave the last slot for the ending '\0'.
[ Impact: fix possible crash when the length of an operand is 128 ]
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
LKML-Reference: <4A0CDC8C.30602@cn.fujitsu.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/char/tty_ldisc.c')
0 files changed, 0 insertions, 0 deletions