From: marshmellow42 Date: Thu, 15 Oct 2015 05:31:52 +0000 (-0400) Subject: PCF-fix bytepos range from 0-3 to 0-15 X-Git-Tag: v2.3.0~15^2~17 X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/59b5b7e14cbb43b7dd52b746fb565e8dda695f1b PCF-fix bytepos range from 0-3 to 0-15 --- diff --git a/client/cmdlfpcf7931.c b/client/cmdlfpcf7931.c index 63333b97..636db483 100644 --- a/client/cmdlfpcf7931.c +++ b/client/cmdlfpcf7931.c @@ -137,7 +137,7 @@ int CmdLFPCF7931Write(const char *Cmd){ if ( param_getdec(Cmd, 0, &block) ) return usage_pcf7931_write(); if ( param_getdec(Cmd, 1, &bytepos) ) return usage_pcf7931_write(); - if ( (block > 7) || (bytepos > 3) ) return usage_pcf7931_write(); + if ( (block > 7) || (bytepos > 15) ) return usage_pcf7931_write(); data = param_get8ex(Cmd, 2, 0, 16);