mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
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 <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Weisbecker <[email protected]> LKML-Reference: <1237796802.7527.39.camel@charm-linux> Signed-off-by: Ingo Molnar <[email protected]>