mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-11-11 18:33:18 +08:00
fix 'lf ti demod' segfault
This commit is contained in:
parent
b15f7c4789
commit
4b7a8f02d4
1 changed files with 3 additions and 0 deletions
|
@ -98,6 +98,9 @@ int demodTI(bool verbose) {
|
|||
int lowTot = 0, highTot = 0;
|
||||
int retval = PM3_ESOFT;
|
||||
|
||||
if (g_GraphTraceLen < convLen) {
|
||||
return retval;
|
||||
}
|
||||
for (i = 0; i < g_GraphTraceLen - convLen; i++) {
|
||||
lowSum = 0;
|
||||
highSum = 0;
|
||||
|
|
Loading…
Reference in a new issue