diff options
author | Hao Wu <hao.a.wu@intel.com> | 2018-10-30 09:11:57 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2018-10-31 08:57:04 +0800 |
commit | bfb8c64cbf6a4604b1a69de8e274cce7f0a678dc (patch) | |
tree | 636635872cc6945b1989b0ae95cbe1ffdcdf7952 /BaseTools/Source/Python/GenFds/RuleComplexFile.py | |
parent | 542b03d0a090d10d39da79a881787cbb013f1754 (diff) | |
download | edk2-bfb8c64cbf6a4604b1a69de8e274cce7f0a678dc.tar.gz edk2-bfb8c64cbf6a4604b1a69de8e274cce7f0a678dc.tar.bz2 edk2-bfb8c64cbf6a4604b1a69de8e274cce7f0a678dc.zip |
MdeModulePkg/UdfDxe: Content check for 'File' in ResolveSymlink()
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1279
The content within 'File' is the output data for ResolveSymlink(). This
commit will add checks to ensure the content in 'File' is valid.
Otherwise, possible null pointer dereference issue will occur during the
subsequent usage of the data returned by ResolveSymlink().
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Paulo Alcantara <palcantara@suse.de>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/RuleComplexFile.py')
0 files changed, 0 insertions, 0 deletions