summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2025-12-22 22:35:49 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-23 04:10:46 +0300
commit8c8aea0e0aa728d8f891deae8645c6031a16d97d (patch)
tree37c8124d25c4ac22477ef69c96c19276672509cf /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parentd57edbe06095f528035ea47977e3c12541023013 (diff)
downloadedk2-8c8aea0e0aa728d8f891deae8645c6031a16d97d.tar.xz
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>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions