RfidResearchGroup / ChameleonUltra

The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
https://chameleonultra.com
GNU General Public License v3.0
783 stars 137 forks source link

Fix ATS handling in tags that NAK RATS #174

Closed augustozanellato closed 9 months ago

augustozanellato commented 9 months ago

pcd_14a_reader_ats_request didn't check for NAK so in case the tag NAKd the RATS it would return a zero length ATS which would cause an underflow in pcd_14a_reader_scan_once, that in turn resulted in HF_ERR_ATS being returned due to an invalid ATS length.

github-actions[bot] commented 9 months ago

Built artifacts for commit 83583075c44598d3912faaad43932408919591e2

Firmware

Client

doegox commented 9 months ago

thanks !