]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/Test/BaseLib: Add SAFE_STRING_CONSTRAINT_CHECK unit test
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 19 May 2020 21:51:17 +0000 (14:51 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 22 May 2020 00:03:14 +0000 (00:03 +0000)
commit1c877c716038a862e876cac8f0929bab4a96e849
tree62da79094ec7eabf64f9c19744b36270730a178e
parent09fe015af9c5d26b99c9f2e775decdf5489b1037
MdePkg/Test/BaseLib: Add SAFE_STRING_CONSTRAINT_CHECK unit test

Use the safe string function StrCpyS() in BaseLib to test the
SAFE_STRING_CONSTRAINT_CHECK() macro.

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>
Cc: Vitaly Cheptsov <vit9696@protonmail.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Vitaly Cheptsov <vit9696@protonmail.com>
Acked-by: Liming Gao <liming.gao@intel.com>
MdePkg/Test/UnitTest/Library/BaseLib/Base64UnitTest.c