diff options
| author | Liu, Zhiguang <zhiguang.liu@intel.com> | 2019-05-10 04:50:32 +0300 |
|---|---|---|
| committer | Feng, Bob C <bob.c.feng@intel.com> | 2019-05-10 12:18:00 +0300 |
| commit | ae3c247dbc943d707e5007f12f5a5862b4e97781 (patch) | |
| tree | ce4b258156e153cfb861c7f75a34d46e43674607 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h | |
| parent | 6b74ccf0f8b53256b696ce921d50b873f6f9db57 (diff) | |
| download | edk2-ae3c247dbc943d707e5007f12f5a5862b4e97781.tar.xz | |
BaseTools: Check the fread function and avoid dead loop
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1789
If the input file is not a valid file, it may cause dead loop,
because the return of fread function is not checked.
Signed-off-by: Zhiguang Liu <zhiguang.liu@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions
