summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Common/InfClassObject.py
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2017-10-10 11:57:38 +0300
committerRuiyu Ni <ruiyu.ni@intel.com>2017-10-12 05:00:48 +0300
commit5e6e2dcc380dcd841f6f979fea8c302c80a87ec3 (patch)
treeae943e2ccad0d654ae0a80c6baf9382910d11aa1 /BaseTools/Source/Python/Common/InfClassObject.py
parent618ef6f9bae14e1543d61993ab7ab8992063e4cc (diff)
downloadedk2-5e6e2dcc380dcd841f6f979fea8c302c80a87ec3.tar.xz
MdeModulePkg/Bds: Check variable name even *if* OptionNumber is NULL
Current implementation skips to check whether the last four characters are digits when the OptionNumber is NULL. Even worse, it may incorrectly return FALSE when OptionNumber is NULL. The patch fixes it to always check the variable name even OptionNumber is NULL. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/InfClassObject.py')
0 files changed, 0 insertions, 0 deletions