From 77499f6fb24f42fdcd20e37659e80adf94641077 Mon Sep 17 00:00:00 2001 From: merlokk Date: Sat, 11 Nov 2017 00:43:29 +0200 Subject: [PATCH] fix #468 --- client/emv/apduinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/emv/apduinfo.c b/client/emv/apduinfo.c index fbdd714a..d1491cc3 100644 --- a/client/emv/apduinfo.c +++ b/client/emv/apduinfo.c @@ -278,7 +278,7 @@ int CodeCmp(const char *code1, const char *code2) { } const APDUCode* const GetAPDUCode(uint8_t sw1, uint8_t sw2) { - char buf[4] = {0}; + char buf[5] = {0}; int res; int mineq = 100; int mineqindx = 0; -- 2.39.2