]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/UdfDxe: Check 'Component Type' within a Path Component
authorHao Wu <hao.a.wu@intel.com>
Tue, 30 Oct 2018 01:06:48 +0000 (09:06 +0800)
committerHao Wu <hao.a.wu@intel.com>
Wed, 31 Oct 2018 00:57:04 +0000 (08:57 +0800)
commit542b03d0a090d10d39da79a881787cbb013f1754
treefde398d8fac15d3d1f5acd5919ef203c377f0b6e
parenta0f01e8a22e15000e564f09e82eae13d7127be3c
MdeModulePkg/UdfDxe: Check 'Component Type' within a Path Component

REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1279

According to the ECMA-167 standard (3rd Edition - June 1997), Section
14.16.1.1, valid values are 1 to 5. All other values will be treated as a
corrupted volume.

This commit will add such check within function 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>
MdeModulePkg/Universal/Disk/UdfDxe/FileSystemOperations.c