Skip to content

Commit e35027f

Browse files
author
=
committed
fixed segmentation fault
1 parent 9abb963 commit e35027f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

hcxpcapngtool.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4329,7 +4329,6 @@ if(memcmp(&tags.essid, &zeroed32, tags.essidlen) == 0)
43294329
return;
43304330
}
43314331
if(tags.essid[0] == 0) return;
4332-
43334332
if(fh_lts != NULL)
43344333
{
43354334
if(tags.essidlen > 0)
@@ -4382,7 +4381,6 @@ memcpy(aplistptr->enrollee, tags.enrollee, tags.enrolleelen);
43824381
if(fh_csv != NULL) writecsv(proberesponsetimestamp, macap, &tags);
43834382
if(cleanbackmac() == false) aplistptr++;
43844383
if(fh_nmea != NULL) writegpwpl(macap);
4385-
if(naf == false) fprintf(fh_lts, "%020" PRIu64 "\t%02x%02x%02x%02x%02x%02x\t %.*s\n", proberesponsetimestamp, macap[0], macap[1], macap[2], macap[3], macap[4], macap[5], tags.essidlen, tags.essid);
43864384
return;
43874385
}
43884386
/*===========================================================================*/
@@ -4517,7 +4515,6 @@ memcpy(aplistptr->enrollee, tags.enrollee, tags.enrolleelen);
45174515
if(fh_csv != NULL) writecsv(beacontimestamp, macap, &tags);
45184516
if(cleanbackmac() == false) aplistptr++;
45194517
if(fh_nmea != NULL) writegpwpl(macap);
4520-
if(naf == false) fprintf(fh_lts, "%020" PRIu64 "\t%d\t%02x%02x%02x%02x%02x%02x\t%.*s\n", beacontimestamp, rssi, macap[0], macap[1], macap[2], macap[3], macap[4], macap[5], tags.essidlen, tags.essid);
45214518
return;
45224519
}
45234520
/*===========================================================================*/

0 commit comments

Comments
 (0)