Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: bf32c2d61f3e13e8e0f33fce431376812c99da81
      
https://github.com/tianocore/edk2/commit/bf32c2d61f3e13e8e0f33fce431376812c99da81
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    M ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c

  Log Message:
  -----------
  ArmPkg/SemihostFs: StrSize() cannot return 0

StrSize() account the terminating NULL character and cannot return 0.
Replace StrSize() StrLen().

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4859
Reported-by: Tormod Volden <debian.tor...@gmail.com>
Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


  Commit: 3ee2ceb6fa4ee13484758bc3cd77195262faad07
      
https://github.com/tianocore/edk2/commit/3ee2ceb6fa4ee13484758bc3cd77195262faad07
  Author: Pierre Gondois <pierre.gond...@arm.com>
  Date:   2024-11-27 (Wed, 27 Nov 2024)

  Changed paths:
    M FatPkg/EnhancedFatDxe/UnicodeCollation.c

  Log Message:
  -----------
  FatPkg/EnhancedFatDxe: Add comments around StrSize() checks

StrSize() cannot return 0. As done in other packages, StrSize()
checks the length of the string doesn't exceed
PcdMaximumUnicodeStringLength. Add comments to make it more obvious.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4859
Reported-by: Tormod Volden <debian.tor...@gmail.com>
Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>


Compare: https://github.com/tianocore/edk2/compare/d90bf1f973cb...3ee2ceb6fa4e

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