On 2017/10/25 04:35PM, Masami Hiramatsu wrote:
> On Mon, 23 Oct 2017 22:07:41 +0530
> "Naveen N. Rao" wrote:
>
> > Use safer string manipulation functions when dealing with a
> > user-provided string in kprobe_lookup_name().
> >
>
> What would you mean "safer"
On Mon, 23 Oct 2017 22:07:41 +0530
"Naveen N. Rao" wrote:
> Use safer string manipulation functions when dealing with a
> user-provided string in kprobe_lookup_name().
>
What would you mean "safer" here? using strnchr()?
Could you please show at least an
Use safer string manipulation functions when dealing with a
user-provided string in kprobe_lookup_name().
Reported-by: David Laight
Signed-off-by: Naveen N. Rao
---
arch/powerpc/kernel/kprobes.c | 47