summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/GenFds/DataSection.py
diff options
context:
space:
mode:
authorVitaly Cheptsov <vit9696@protonmail.com>2020-05-19 14:51:43 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-05-22 00:03:14 +0000
commit09fe015af9c5d26b99c9f2e775decdf5489b1037 (patch)
treeb61687039078818e38cf593fadaa3d57bf708d46 /BaseTools/Source/Python/GenFds/DataSection.py
parent1a2ad3ba9efdd0db4bf1b6c114eedb59d6c483ca (diff)
downloadedk2-09fe015af9c5d26b99c9f2e775decdf5489b1037.tar.gz
edk2-09fe015af9c5d26b99c9f2e775decdf5489b1037.tar.bz2
edk2-09fe015af9c5d26b99c9f2e775decdf5489b1037.zip
MdePkg: Fix SafeString performing assertions on runtime checks
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2054 Runtime checks returned via status return code should not work as assertions to permit parsing not trusted data with SafeString interfaces. Replace ASSERT() with a DEBUG_VERBOSE message. Cc: Andrew Fish <afish@apple.com> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Bret Barkelew <bret.barkelew@microsoft.com> Cc: Brian J. Johnson <brian.johnson@hpe.com> Cc: Chasel Chiu <chasel.chiu@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Marvin Häuser <mhaeuser@outlook.de> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Vincent Zimmer <vincent.zimmer@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Signed-off-by: Vitaly Cheptsov <vit9696@protonmail.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/DataSection.py')
0 files changed, 0 insertions, 0 deletions