diff options
author | Li Zefan <[email protected]> | 2010-01-14 10:54:11 +0800 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2010-01-14 22:38:11 -0500 |
commit | b2af211f284eb1bef19fbb85fc8ef551bb1e7460 (patch) | |
tree | 251b3848de7478ad9123c92fc7c95a464bd84f78 /net/lapb/lapb_in.c | |
parent | d5f1fb53353edc38da326445267c1df0c9676df2 (diff) |
tracing/filters: Fix MATCH_MIDDLE_ONLY filter matching
The @str might not be NULL-terminated if it's of type
DYN_STRING or STATIC_STRING, so we should use strnstr()
instead of strstr().
Signed-off-by: Li Zefan <[email protected]>
LKML-Reference: <[email protected]>
Acked-by: Frederic Weisbecker <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions