Re: [edk2-devel] [PATCH] Tools/FitGen: Check the input file path before open it

2020-02-19 Thread Liming Gao
Reviewed-by: Liming Gao > -Original Message- > From: Feng, YunhuaX > Sent: Wednesday, February 19, 2020 8:13 PM > To: devel@edk2.groups.io > Cc: Gao, Liming ; Feng, Bob C > Subject: [PATCH] Tools/FitGen: Check the input file path before open it > > REF: https://bugzilla.tianocore.org/s

[edk2-devel] [PATCH] Tools/FitGen: Check the input file path before open it

2020-02-19 Thread Feng, YunhuaX
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2117 avoid path traversal attack check. Cc: Bob Feng Cc: Liming Gao Signed-off-by: Yunhua Feng --- Silicon/Intel/Tools/FitGen/FitGen.c | 47 + 1 file changed, 47 insertions(+) diff --git a/Silicon/Intel/T