We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d19ad60 commit 7380eacCopy full SHA for 7380eac
lib/nfc/protocols/iso14443_3a/iso14443_3a_poller_i.c
@@ -42,7 +42,13 @@ static Iso14443_3aError iso14443_3a_poller_standard_frame_exchange(
42
break;
43
}
44
45
+ if(bit_buffer_get_capacity_bytes(rx_buffer) <
46
+ bit_buffer_get_size_bytes(instance->rx_buffer)) {
47
+ ret = Iso14443_3aErrorBufferOverflow;
48
+ break;
49
+ }
50
bit_buffer_copy(rx_buffer, instance->rx_buffer);
51
+
52
if(!iso14443_crc_check(Iso14443CrcTypeA, instance->rx_buffer)) {
53
ret = Iso14443_3aErrorWrongCrc;
54
0 commit comments