Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-26 Thread Shuah Khan
On 11/26/2013 07:46 AM, Steven Rostedt wrote: On Fri, 22 Nov 2013 23:18:09 +0100 "Rafael J. Wysocki" wrote: On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event passes in a null

Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-26 Thread Steven Rostedt
On Fri, 22 Nov 2013 23:18:09 +0100 "Rafael J. Wysocki" wrote: > On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: > > Tracing infrastructure routine __assign_str doesn't handle null strings. > > As a result when an trace event passes in a null string, kernel panics > > when

Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-26 Thread Steven Rostedt
On Fri, 22 Nov 2013 23:18:09 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event passes in a null string, kernel panics when

Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-26 Thread Shuah Khan
On 11/26/2013 07:46 AM, Steven Rostedt wrote: On Fri, 22 Nov 2013 23:18:09 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event

Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-22 Thread Rafael J. Wysocki
On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: > Tracing infrastructure routine __assign_str doesn't handle null strings. > As a result when an trace event passes in a null string, kernel panics > when skip_spaces() is invoked on the string. The following oops occurred > when a null

[PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-22 Thread Shuah Khan
Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event passes in a null string, kernel panics when skip_spaces() is invoked on the string. The following oops occurred when a null wakeup source name is specified. power_supply_register() calls

[PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-22 Thread Shuah Khan
Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event passes in a null string, kernel panics when skip_spaces() is invoked on the string. The following oops occurred when a null wakeup source name is specified. power_supply_register() calls

Re: [PATCH v3 2/2] tracing: Fix Oops from NULL pointer dereference from __assign_str

2013-11-22 Thread Rafael J. Wysocki
On Friday, November 22, 2013 10:54:29 AM Shuah Khan wrote: Tracing infrastructure routine __assign_str doesn't handle null strings. As a result when an trace event passes in a null string, kernel panics when skip_spaces() is invoked on the string. The following oops occurred when a null wakeup