]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
tracing/filters: disallow integer values for string filters and vice versa
authorTom Zanussi <tzanussi@gmail.com>
Tue, 24 Mar 2009 07:14:42 +0000 (02:14 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 24 Mar 2009 07:26:52 +0000 (08:26 +0100)
commit9f58a159d022c8f2533a27708aa267adf4f0e3ce
tree471fb100abead729ccfbfcc206fb0d5daa03f1c5
parent4bda2d517bfa3ce3d7044e06988cdddae7adffe2
tracing/filters: disallow integer values for string filters and vice versa

Impact: fix filter use boundary condition / crash

Make sure filters for string fields don't use integer values and vice
versa.  Getting it wrong can crash the system or produce bogus
results.

Signed-off-by: Tom Zanussi <tzanussi@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1237878882.8339.61.camel@charm-linux>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/trace/trace_events_filter.c