Home
last modified time | relevance | path

Searched hist:bf30c8d31dd7ab923e70eca50829c5996014eaa8 (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-host-ipmid/user_channel/
H A Dpasswd_mgr.cppdiff bf30c8d31dd7ab923e70eca50829c5996014eaa8 Mon Jul 19 17:36:37 CDT 2021 P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com> Fix Kloxwork Issue : NULL check after new

A unique pointer of EVP_CIPHER_CTX is created using EVP_CIPHER_CTX_new()
which could return NULL.
This Commit adds a NULL check to avoid NULL pointer dereferencing and
returns memory error.

Signed-off-by: P Dheeraj Srujan Kumar <p.dheeraj.srujan.kumar@intel.com>
Change-Id: Icbc599210034feb6f7b3c35542bcfff205987628