Re: [PATCH 3.0-stable 1/2] tracing: Fix possible NULL pointer dereferences

2013-06-12 Thread Li Zefan
On 2013/6/11 5:13, Greg Kroah-Hartman wrote: > On Fri, Jun 07, 2013 at 05:00:33PM +0800, Li Zefan wrote: >> commit 6a76f8c0ab19f215af2a3442870eeb5f0e81998d upstream. >> >> Currently set_ftrace_pid and set_graph_function files use seq_lseek >> for their fops. However seq_open() is called only for F

Re: [PATCH 3.0-stable 1/2] tracing: Fix possible NULL pointer dereferences

2013-06-10 Thread Greg Kroah-Hartman
On Fri, Jun 07, 2013 at 05:00:33PM +0800, Li Zefan wrote: > commit 6a76f8c0ab19f215af2a3442870eeb5f0e81998d upstream. > > Currently set_ftrace_pid and set_graph_function files use seq_lseek > for their fops. However seq_open() is called only for FMODE_READ in > the fops->open() so that if an user