diff options
| author | Aaron Pop <aaronpop@microsoft.com> | 2025-10-23 22:57:49 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2026-08-05 11:59:15 +0300 |
| commit | 72d0846c4c0ceab2dd228d82be94b88237e8dde3 (patch) | |
| tree | 285db6e70e635f5bce11e5704421506a04bd8b53 /BaseTools/Source/Python/Workspace/MetaFileParser.py | |
| parent | 77cf8c8c10160c886bb932309c3498db435ff7c6 (diff) | |
| download | edk2-72d0846c4c0ceab2dd228d82be94b88237e8dde3.tar.xz | |
MdeModulePkg: Fix conditionally uninitialized variables
https://github.com/github/codeql/blob/codeql-cli-2.7.3/cpp/ql/src/Security/CWE/CWE-457/ConditionallyUninitializedVariable.qhelp
Some local variables, when going through a code path, can
end up uninitialized (using the value they had at the start
of the function). This is generally due to an error path
that can occur based on the library instances, or the
unchecked error (i.e. a allocation failing).
These variables should be initialized with a known value
that will result in the function being able to exit
gracefully.
Signed-off-by: Aaron Pop <aaronpop@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions
