diff options
| author | Jiasheng Jiang <[email protected]> | 2023-06-19 03:06:31 +0000 |
|---|---|---|
| committer | Bjorn Andersson <[email protected]> | 2023-07-15 21:59:30 +0000 |
| commit | b5c9ee8296a3760760c7b5d2e305f91412adc795 (patch) | |
| tree | d55e444f7f3ec55250d9c2df58dba6bf546a2a62 /tools/perf/scripts/python/flamegraph.py | |
| parent | rpmsg: char: Add RPMSG GET/SET FLOWCONTROL IOCTL support (diff) | |
| download | kernel-b5c9ee8296a3760760c7b5d2e305f91412adc795.tar.gz kernel-b5c9ee8296a3760760c7b5d2e305f91412adc795.zip | |
rpmsg: glink: Add check for kstrdup
Add check for the return value of kstrdup() and return the error
if it fails in order to avoid NULL pointer dereference.
Fixes: b4f8e52b89f6 ("rpmsg: Introduce Qualcomm RPM glink driver")
Signed-off-by: Jiasheng Jiang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
