Replace format specifiers for all usages of ASSERT_MSG
This commit is contained in:
@@ -653,7 +653,7 @@ void Module::Interface::Wrap(Kernel::HLERequestContext& ctx) {
|
||||
// Note: real 3DS still returns SUCCESS when the sizes don't match. It seems that it doesn't
|
||||
// check the buffer size and writes data with potential overflow.
|
||||
ASSERT_MSG(output_size == input_size + HW::AES::CCM_MAC_SIZE,
|
||||
"input_size (%d) doesn't match to output_size (%d)", input_size, output_size);
|
||||
"input_size ({}) doesn't match to output_size ({})", input_size, output_size);
|
||||
|
||||
LOG_DEBUG(Service_APT, "called, output_size=%u, input_size=%u, nonce_offset=%u, nonce_size=%u",
|
||||
output_size, input_size, nonce_offset, nonce_size);
|
||||
@@ -698,7 +698,7 @@ void Module::Interface::Unwrap(Kernel::HLERequestContext& ctx) {
|
||||
// Note: real 3DS still returns SUCCESS when the sizes don't match. It seems that it doesn't
|
||||
// check the buffer size and writes data with potential overflow.
|
||||
ASSERT_MSG(output_size == input_size - HW::AES::CCM_MAC_SIZE,
|
||||
"input_size (%d) doesn't match to output_size (%d)", input_size, output_size);
|
||||
"input_size ({}) doesn't match to output_size ({})", input_size, output_size);
|
||||
|
||||
LOG_DEBUG(Service_APT, "called, output_size=%u, input_size=%u, nonce_offset=%u, nonce_size=%u",
|
||||
output_size, input_size, nonce_offset, nonce_size);
|
||||
|
||||
Reference in New Issue
Block a user