aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2023-06-19 09:28:02 +0000
committerCorey Minyard <[email protected]>2023-06-19 16:40:38 +0000
commitc5586d0f711e9744d0cade39b0c4a2d116a333ca (patch)
treee0e13134c6c90aa67b4c3d40a53f03edb2000bc3 /tools/perf/scripts/python/mem-phys-addr.py
parentdt-bindings: ipmi: aspeed,ast2400-kcs-bmc: drop unneeded quotes (diff)
downloadkernel-c5586d0f711e9744d0cade39b0c4a2d116a333ca.tar.gz
kernel-c5586d0f711e9744d0cade39b0c4a2d116a333ca.zip
ipmi:ssif: 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: c4436c9149c5 ("ipmi_ssif: avoid registering duplicate ssif interface") Signed-off-by: Jiasheng Jiang <[email protected]> Message-Id: <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions