kaoh / globalplatform

C library + command-line for Open- / GlobalPlatform smart cards
https://kaoh.github.io/globalplatform/
Other
72 stars 30 forks source link

Code spins when the first scp entry in card data does not indicate any of SCO01, 02 or 03 #44

Closed dmercer-google closed 2 years ago

dmercer-google commented 3 years ago

i is never incremented in the loop starting at globalplatform.c:1752 unless SCP01, 02 or 03 is indicated first.