Files
Michael D Kinney 8c8aea0e0a UnitTestFrameworkPkg/UnitTestLib: Fix printf() error from clang
Update UnitTestLib to not pass UnitTest->Log as the format
string to printf(). If UnitTest->Log contains any printf()
format specifiers, then printf() will look for arguments that
are not present and will read beyond the stack frame.

Change use of printf() to an fwrite() to stdout followed by
an fflush() to stdout.

Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
2025-12-23 01:10:46 +00:00
..