summaryrefslogtreecommitdiffstats
path: root/IntelFsp2WrapperPkg
diff options
context:
space:
mode:
authorLaszlo Ersek <lersek@redhat.com>2019-07-02 00:35:18 +0200
committerLaszlo Ersek <lersek@redhat.com>2019-07-16 23:24:38 +0200
commit35e242b698cdc6205e99a6d6a188bf27fecf9fb4 (patch)
tree5b631e60bd2f4c0c85f21ccf33244752c5ffc7ab /IntelFsp2WrapperPkg
parent5d68fc6781f0fa0887715784db5bafc34d5c766f (diff)
downloadedk2-35e242b698cdc6205e99a6d6a188bf27fecf9fb4.tar.gz
edk2-35e242b698cdc6205e99a6d6a188bf27fecf9fb4.tar.bz2
edk2-35e242b698cdc6205e99a6d6a188bf27fecf9fb4.zip
MdePkg/BaseLib: rewrite Base64Decode()
Rewrite Base64Decode() from scratch, due to reasons listed in the second reference below. Implement Base64Decode() according to the specification added in the previous patch. The decoder scans the input buffer once, it has no inner loop(s), and it spills each output byte as soon as the output byte is complete. The intent is to only strengthen the checks (sanity and input) relative to the previous implementation, hence the MAX_ADDRESS checks are reinstated. Cc: Liming Gao <liming.gao@intel.com> Cc: Marvin Häuser <mhaeuser@outlook.de> Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Philippe Mathieu-Daudé <philmd@redhat.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=1891 Ref: http://mid.mail-archive.com/c495bd0b-ea4d-7206-8a4f-a7149760d19a@redhat.com Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Tested-by: Zhichao Gao <zhichao.gao@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> [lersek@redhat.com: add last para to commit msg per talks w/ Marvin & Phil]
Diffstat (limited to 'IntelFsp2WrapperPkg')
0 files changed, 0 insertions, 0 deletions