From: Pengfei Li <[email protected]> > Does passing this NULL pointer directly to kstrtoul() cause an immediate NULL > pointer dereference and kernel panic, since kstrtoul() does not check for a > NULL pointer before dereferencing it?
Yes. Booting with a bare "ftrace_stackmap.bits" panics. Will fix in v8:
if (!str)
return -EINVAL;
Thanks.
Pengfei
