Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 305e5845e6fe4d74db117b7e04db7e2da02bf48c
      
https://github.com/tianocore/edk2/commit/305e5845e6fe4d74db117b7e04db7e2da02bf48c
  Author: Gao Qihang <gaoqih...@loongson.cn>
  Date:   2025-08-22 (Fri, 22 Aug 2025)

  Changed paths:
    M BaseTools/Source/C/VfrCompile/VfrSyntax.g

  Log Message:
  -----------
  BaseTools/VfrCompile: Add check for setting string default to number

It's illegal that string default is numeric type in vfr string definition.
This patch add a check to the illegal behavior. If numeric string default
is encountered, throw a invalid parameter error to break VfrCompile.

Cc: Chao Li <lic...@loongson.cn>
Signed-off-by: Gao Qihang <gaoqih...@loongson.cn>


  Commit: eb3354a49953e1ff35cfcb986e8a959c4c8f1aeb
      
https://github.com/tianocore/edk2/commit/eb3354a49953e1ff35cfcb986e8a959c4c8f1aeb
  Author: Gao Qihang <gaoqih...@loongson.cn>
  Date:   2025-08-22 (Fri, 22 Aug 2025)

  Changed paths:
    M MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c

  Log Message:
  -----------
  MdeModulePkg/HiiDatabaseDxe: Avoid assert in InternalGetString

If string default is set to zero in vfr file and VfrCompile may not
found the invalid operation, assert is trigged. This patch will check
whether StringId is 0 to avoid assert.

Cc: Chao Li <lic...@loongson.cn>
Signed-off-by: Gao Qihang <gaoqih...@loongson.cn>


Compare: https://github.com/tianocore/edk2/compare/d46aa46c8361...eb3354a49953

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to