diff options
author | Andrew Goodbody <andrew.goodbody@linaro.org> | 2025-06-30 12:57:10 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-07-08 18:15:20 -0600 |
commit | c3b43eeaead77beef53a224c7d13346a0462b34d (patch) | |
tree | 8e2a3f60594928b801a0f01e6634a99949638aa5 /test/py/u_boot_utils.py | |
parent | 0ffd456516b5f0c126c9705d6b2368a45ee2353f (diff) |
boot: pxe: Prevent evaluation of uninitialised variable
In the case where parse_sliteral returns an error then label_name
will not have been assigned to. In order to prevent evaluating
label_name in this case add a check for the return value of parse_sliteral.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Diffstat (limited to 'test/py/u_boot_utils.py')
0 files changed, 0 insertions, 0 deletions