summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiasheng Jiang <jiasheng@iscas.ac.cn>2023-01-27 13:40:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-28 16:36:28 +0300
commitb0576ade3aaf24b376ea1a4406ae138e2a22b0c0 (patch)
tree50d23ff70fd5c0e5a1d29f9f61d037c0b774730f /tools/perf/scripts/python/export-to-postgresql.py
parent2241ab53cbb5cdb08a6b2d4688feb13971058f65 (diff)
downloadlinux-b0576ade3aaf24b376ea1a4406ae138e2a22b0c0.tar.xz
nvmem: brcm_nvram: Add check for kzalloc
Add the check for the return value of kzalloc in order to avoid NULL pointer dereference. Fixes: 6e977eaa8280 ("nvmem: brcm_nvram: parse NVRAM content into NVMEM cells") Cc: stable@vger.kernel.org Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230127104015.23839-2-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions