From 9c9906c823b0fe7ec3dcd608ad6fb6e9384c8663 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Sun, 1 Mar 2020 16:46:31 +0100 Subject: [PATCH] fix coverity 267213 --- common/cardhelper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cardhelper.c b/common/cardhelper.c index 704a4f749..93e361f60 100644 --- a/common/cardhelper.c +++ b/common/cardhelper.c @@ -73,11 +73,11 @@ void DecodeBlock6(uint8_t *src) { // first part ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len); - PrintAndLogEx(SUCCESS, "%0.*s", resp_len - 11, resp + 9); + PrintAndLogEx(SUCCESS, "%.*s", resp_len - 11, resp + 9); // second part c[5] = 0x02; ExchangeAPDUSC(true, c, sizeof(c), false, true, resp, sizeof(resp), &resp_len); - PrintAndLogEx(SUCCESS, "%0.*s", resp_len - 11, resp + 9); + PrintAndLogEx(SUCCESS, "%.*s", resp_len - 11, resp + 9); }