The debugfs_create_str() API assumes that the string pointer is either NULL
or points to valid kmalloc() memory. Leaving the pointer uninitialized can
cause problems.
Initialize src_node and dst_node to empty strings before creating the
debugfs entries to guarantee that reads and writes are safe.
Fixes:
|
||
|---|---|---|
| .. | ||
| imx | ||
| mediatek | ||
| qcom | ||
| samsung | ||
| Kconfig | ||
| Makefile | ||
| bulk.c | ||
| core.c | ||
| debugfs-client.c | ||
| icc-clk.c | ||
| internal.h | ||
| trace.h | ||