FIXED: Merged all Holimans code-review issues which should fix a lot of memoryleaks.
This commit is contained in:
1 parent
7c756d6892
commit
a61b4976bd
18 files changed
+142
-137
No files matched your search
+3
-2
@@ -561,8 +561,9 @@ int CmdHF15CmdRaw (const char *cmd) {
|
||||
*/
|
||||
int prepareHF15Cmd(char **cmd, UsbCommand *c, uint8_t iso15cmd[], int iso15cmdlen) {
|
||||
int temp;
|
||||
uint8_t *req=c->d.asBytes, uid[8];
|
||||
uint32_t reqlen=0;
|
||||
uint8_t *req = c->d.asBytes;
|
||||
uint8_t uid[8] = {0x00};
|
||||
uint32_t reqlen = 0;
|
||||
|
||||
// strip
|
||||
while (**cmd==' ' || **cmd=='\t') (*cmd)++;
|
||||
|
||||
Reference in new issue
Block a user