]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Fix issue 14: mandemod and lf em4x em410xread crashes the proxmark3 client app
authorksjoberg <ksjoberg@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 6 Apr 2010 13:41:37 +0000 (13:41 +0000)
committerksjoberg <ksjoberg@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 6 Apr 2010 13:41:37 +0000 (13:41 +0000)
This fix is quick-and-dirty since it only reduces the amount of stackspace allocated by changing the data type of the array to uint8_t instead of the 32 bit integers. The reduced number of bits is OK since only (at most) 2 of the available bits are used in each element.

At least array bit utilization is improved from 6.66% to 25% :)

Large structures such as these should probably be malloc()ed.


No differences found
Impressum, Datenschutz