]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg: TcgStorageOpalLib: Initialize SupportedAttributes parameter.
authorScottie Kuo <scottie.kuo@intel.com>
Fri, 21 May 2021 07:44:30 +0000 (15:44 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 15 Jun 2021 08:43:25 +0000 (08:43 +0000)
commit11b1c1d4b98bc1b5eaaaf9eaa94ecd34eeaba5f9
tree2029d35dbf4f17afedcb1f77ffda4a736d2499a0
parent1ad794b6276ed902a838a444504848255ce576c9
SecurityPkg: TcgStorageOpalLib: Initialize SupportedAttributes parameter.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3408

The value of SupportedAttributes in OpalGetSupportedAttributesInfo ()
is left undetermined, if the caller doesn't initialize it.
Initialize it in the function entry.

Signed-off-by: Scottie Kuo <scottie.kuo@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Maggie Chu <maggie.chu@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
Acked-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/Library/TcgStorageOpalLib/TcgStorageOpalCore.c