diff options
author | Mingyue Liang <mingyuex.liang@intel.com> | 2020-11-13 15:33:01 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-11-19 02:22:57 +0000 |
commit | 6c4efc050974812d6ebee1cea711e3c81e4e4442 (patch) | |
tree | 346f22efe88f2b10266750c564a314993f1b9d0f /IntelFsp2Pkg | |
parent | 404250c8f77d09077321766602c3118cec7f6ecd (diff) | |
download | edk2-6c4efc050974812d6ebee1cea711e3c81e4e4442.zip edk2-6c4efc050974812d6ebee1cea711e3c81e4e4442.tar.gz edk2-6c4efc050974812d6ebee1cea711e3c81e4e4442.tar.bz2 |
BaseTools: Resolve index out of range errors.
This problem is generated by solving bz2972's
patch, and the commit ID is
0af7f8e6a9253960ba820cd6ddfd8c36543d30cb.
This is a problem when updating the DEPs file.
The code does not consider that there is only
one line of content in the file, so the filter
condition is added to prevent the index from
exceeding the range.
Signed-off-by: Mingyue Liang <mingyuex.liang@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'IntelFsp2Pkg')
0 files changed, 0 insertions, 0 deletions