From: Tom Zanussi Date: Mon, 23 Mar 2009 08:26:42 +0000 (-0500) Subject: tracing/filters: fix bug in copy_pred() X-Git-Tag: v2.6.30-rc1~2^2~13^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee6cdabc820a29bd607f38d9cb335c3ceddc673b;p=pandora-kernel.git tracing/filters: fix bug in copy_pred() Impact: fix potential crash on subsystem filter expression freeing When making a copy of the predicate, pred->field_name needs to be duplicated in the copy as well, otherwise bad things can happen due to later multiple frees of the same string. This affects only per-subsystem event filtering. Signed-off-by: Tom Zanussi Cc: Steven Rostedt Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker LKML-Reference: <1237796802.7527.39.camel@charm-linux> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed