[honister,0/1] arm-bsp/secure-partitions: add check for null attribute field

Message ID 20220104172345.22414-1-gowtham.sureshkumar@arm.com
Headers show
Series arm-bsp/secure-partitions: add check for null attribute field | expand

Message

Gowtham Suresh Kumar Jan. 4, 2022, 5:23 p.m. UTC
From: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>

UEFI spec says that if 0 is passed in the attributes filed in
setVariable() API, it means that it's a delete variable call.
Currently smm gateway doesn't handle this case. This change
is to add above mentioned check.

Vishnu Banavath (1):
  arm-bsp/secure-partitions: add check for null attribute field

 ...teway-add-checks-for-null-attributes.patch | 79 +++++++++++++++++++
 .../trusted-services/ts-corstone1000.inc      |  1 +
 2 files changed, 80 insertions(+)
 create mode 100644 meta-arm-bsp/recipes-security/trusted-services/secure-partitions/0032-smm_gateway-add-checks-for-null-attributes.patch

Comments

Jon Mason Jan. 5, 2022, 1:48 p.m. UTC | #1
On Tue, 4 Jan 2022 17:23:44 +0000, gowtham.sureshkumar@arm.com wrote:
> UEFI spec says that if 0 is passed in the attributes filed in
> setVariable() API, it means that it's a delete variable call.
> Currently smm gateway doesn't handle this case. This change
> is to add above mentioned check.
> 
> Vishnu Banavath (1):
>   arm-bsp/secure-partitions: add check for null attribute field
> 
> [...]

Applied, thanks!

[1/1] arm-bsp/secure-partitions: add check for null attribute field
      commit: 15815c7d4989b84607ed1a0e4f75738258d4e296

Best regards,