From: grauerfuchs <42082416+grauerfuchs@users.noreply.github.com> Date: Sat, 4 Aug 2018 10:26:36 +0000 (-0400) Subject: fix truncation issue on "lf t55 config" modulation X-Git-Tag: v3.1.0~37^2 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/b6a04aff48853b786aa0be1256bb8b01b35d8bbc fix truncation issue on "lf t55 config" modulation Fix for issue #637 --- diff --git a/client/cmdlft55xx.c b/client/cmdlft55xx.c index f53ff0d6..2a096cd0 100644 --- a/client/cmdlft55xx.c +++ b/client/cmdlft55xx.c @@ -207,7 +207,7 @@ void printT5xxHeader(uint8_t page){ int CmdT55xxSetConfig(const char *Cmd) { uint8_t offset = 0; - char modulation[5] = {0x00}; + char modulation[6] = {0x00}; char tmp = 0x00; uint8_t bitRate = 0; uint8_t rates[9] = {8,16,32,40,50,64,100,128,0};