]> cvs.zerfleddert.de Git - proxmark3-svn/commit - client/cmdhf.c
rework of GetFromBigBuf() (#597)
authorpwpiwi <pwpiwi@users.noreply.github.com>
Tue, 8 May 2018 05:54:49 +0000 (07:54 +0200)
committerGitHub <noreply@github.com>
Tue, 8 May 2018 05:54:49 +0000 (07:54 +0200)
commitbabca445ffa9f7af6f5e1deb78476754c484a2b1
treeb21cb09b3a8117956fd7d00c109abd3f27780c91
parent03cdcca03fa921df1d1cc1d9e45ee04201b4d785
rework of GetFromBigBuf() (#597)

* this should fix crashes reported in issue #497
* don't allow receiver thread to write directly into arbitrary main thread's memory
* instead use cmdBuffer[] for CMD_DOWNLOADED_RAW_ADC_SAMPLES_125K as well
* add timeout and warning options to GetFromBigBuf(), same as in WaitForResponseTimeoutW()
* move GetFromBigBuf() from data.c to comms.c
* remove data.c and data.h
27 files changed:
client/Makefile
client/cmddata.c
client/cmdhf.c
client/cmdhf14a.c
client/cmdhf14b.c
client/cmdhf15.c
client/cmdhficlass.c
client/cmdhflegic.c
client/cmdhflist.c
client/cmdhfmfu.c
client/cmdhw.c
client/cmdlf.c
client/cmdlfcotag.c
client/cmdlfem4x.c
client/cmdlfhitag.c
client/cmdlfio.c
client/cmdlft55xx.c
client/cmdlfti.c
client/cmdmain.c
client/cmdscript.c
client/comms.c
client/comms.h
client/data.c [deleted file]
client/data.h [deleted file]
client/mifarehost.h
client/util.c
client/util.h
Impressum, Datenschutz