]> cvs.zerfleddert.de Git - proxmark3-svn/commit
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)
commit15cdabd474e7c90bc86fc8c1f2a1ca854ea9f6da
treef9df7003b8a115ba0041e2d91ba65f56117679f4
parent33bf54cf3d3f3546f46fa12969c81471cb9a4c69
Fix issue 14: mandemod and lf em4x em410xread crashes the proxmark3 client app

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.
client/cmddata.c
client/cmdlfem4x.c
Impressum, Datenschutz