1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/crypto/marvell/octeontx2
Shijith Thotton b03c0dc078 crypto: octeontx2 - fix potential null pointer access
Added missing checks to avoid null pointer dereference.

The patch fixes below issue reported by klocwork tool:
. Pointer 'strsep( &val, ":" )' returned from call to function 'strsep'
  at line 1608 may be NULL and will be dereferenced at line 1608. Also
  there are 2 similar errors on lines 1620, 1632 in otx2_cptpf_ucode.c.

Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2022-06-10 16:43:49 +08:00
..
cn10k_cpt.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
cn10k_cpt.h crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
Makefile crypto: octeontx2 - parameters for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cpt_common.h crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cpt_devlink.c crypto: octeontx2 - add firmware version in devlink info 2022-06-10 16:40:18 +08:00
otx2_cpt_devlink.h crypto: octeontx2 - parameters for custom engine groups 2021-12-11 16:49:17 +11:00
otx2_cpt_hw_types.h crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
otx2_cpt_mbox_common.c crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cpt_reqmgr.h crypto: octeontx2 - register with linux crypto framework 2021-01-22 14:58:03 +11:00
otx2_cptlf.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00
otx2_cptlf.h crypto: octeontx2 - increase CPT HW instruction queue length 2022-02-05 15:10:50 +11:00
otx2_cptpf.h crypto: octeontx2 - add synchronization between mailbox accesses 2022-02-23 15:28:32 +12:00
otx2_cptpf_main.c crypto: octeontx2 - fix missing unlock 2022-03-03 10:49:22 +12:00
otx2_cptpf_mbox.c crypto: octeontx2 - fix missing unlock 2022-03-03 10:49:22 +12:00
otx2_cptpf_ucode.c crypto: octeontx2 - fix potential null pointer access 2022-06-10 16:43:49 +08:00
otx2_cptpf_ucode.h crypto: octeontx2 - add firmware version in devlink info 2022-06-10 16:40:18 +08:00
otx2_cptvf.h crypto: octeontx2 - Add mailbox support for CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf_algs.c crypto: octeontx2 - simplify the return expression of otx2_cpt_aead_cbc_aes_sha_setkey() 2022-05-13 17:24:48 +08:00
otx2_cptvf_algs.h crypto: octeontx2 - register with linux crypto framework 2021-01-22 14:58:03 +11:00
otx2_cptvf_main.c crypto: octeontx2 - add support to map LMTST region for CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf_mbox.c crypto: octeontx2 - Add mailbox support for CN10K 2021-06-03 20:24:05 +08:00
otx2_cptvf_reqmgr.c crypto: octeontx2 - add support for CPT operations on CN10K 2021-06-03 20:24:05 +08:00