Blame SOURCES/0003-utils-remove-debug-log-message-from-str_padded_copy.patch
|
|
32281e |
From ad882c439cc6580837196bab5fd82599685d84e0 Mon Sep 17 00:00:00 2001
|
|
|
32281e |
From: Nicolas Iooss <nicolas.iooss@ledger.fr>
|
|
|
32281e |
Date: Thu, 20 May 2021 16:03:20 +0200
|
|
|
32281e |
Subject: [PATCH 3/6] utils: remove debug log message from str_padded_copy
|
|
|
32281e |
|
|
|
32281e |
Commit 9af101b54035 ("utils: fix stringop-overread in str_padded_copy")
|
|
|
32281e |
introduced a log message which is displayed every time the function
|
|
|
32281e |
`str_padded_copy` is used. This looks like a debug message used while
|
|
|
32281e |
working on the patch. Now that it is applied, remove the log message.
|
|
|
32281e |
|
|
|
32281e |
Signed-off-by: Nicolas Iooss <nicolas.iooss@ledger.fr>
|
|
|
32281e |
---
|
|
|
32281e |
src/lib/utils.h | 1 -
|
|
|
32281e |
1 file changed, 1 deletion(-)
|
|
|
32281e |
|
|
|
32281e |
diff --git a/src/lib/utils.h b/src/lib/utils.h
|
|
|
32281e |
index cf35746..983da06 100644
|
|
|
32281e |
--- a/src/lib/utils.h
|
|
|
32281e |
+++ b/src/lib/utils.h
|
|
|
32281e |
@@ -43,7 +43,6 @@ int str_to_ul(const char *val, size_t *res);
|
|
|
32281e |
static inline void _str_padded_copy(CK_UTF8CHAR_PTR dst, size_t dst_len, const CK_UTF8CHAR *src, size_t src_len) {
|
|
|
32281e |
memset(dst, ' ', dst_len);
|
|
|
32281e |
memcpy(dst, src, src_len);
|
|
|
32281e |
- LOGE("BILL(%zu): %.*s\n", dst_len, dst_len, dst);
|
|
|
32281e |
}
|
|
|
32281e |
|
|
|
32281e |
twist utils_hash_pass(const twist pin, const twist salt);
|
|
|
32281e |
--
|
|
|
32281e |
2.38.1
|
|
|
32281e |
|