diff options
| author | Pierre Gondois <pierre.gondois@arm.com> | 2025-06-12 14:28:13 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-06-14 00:11:49 +0300 |
| commit | c2eb2136b41eb051847ddba68d28de8863a2babd (patch) | |
| tree | 7f77b2f96c57294d80ce6930eb4eb3019e4dba3c /MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni | |
| parent | f242a0e87f1d43094f697265d66cce42a387865e (diff) | |
| download | edk2-c2eb2136b41eb051847ddba68d28de8863a2babd.tar.xz | |
ShellPkg/UefiShellLib: Fix Buffer underflow
Having StrLen(Buffer) == 0 results in a Buffer underflow.
Also, StrLen iterates over the Buffer elements until finding a NULL
character. This results in a quadratic search for '\r' characters
in the while loop.
Fix these issues.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'MdeModulePkg/Library/DisplayUpdateProgressLibGraphics/DisplayUpdateProgressLibGraphics.uni')
0 files changed, 0 insertions, 0 deletions
