Re: Of course, I have a memory corruption, but I'm not able to fix it...

2021-05-22 Thread BERTRAND Joël
Paweł Si a écrit : > > sob., 22 maj 2021 o 09:49 BERTRAND Joël > napisał(a): > >         I'm not sure. In main() you will find : > >         rfid_tag_t  tag; >         iso14443a_anticol(0, ); > > > I would remove this line (file iso14443a.c:244): 

Re: Of course, I have a memory corruption, but I'm not able to fix it...

2021-05-22 Thread Paweł Si
sob., 22 maj 2021 o 09:49 BERTRAND Joël napisał(a): > I'm not sure. In main() you will find : > > rfid_tag_t tag; > iso14443a_anticol(0, ); > I would remove this line (file iso14443a.c:244): memset(, 0, sizeof(tag)); Best regards Paweł

Re: Of course, I have a memory corruption, but I'm not able to fix it...

2021-05-22 Thread BERTRAND Joël
Paweł Si a écrit : > > > pt., 21 maj 2021 o 12:09 BERTRAND Joël > napisał(a): > > Trampas Stern a écrit : > > You also  need to send the rest of the code.  > > > This was actually a good advice, most likely the bug is in your code, so > seeing the

Re: Of course, I have a memory corruption, but I'm not able to fix it...

2021-05-21 Thread Paweł Si
pt., 21 maj 2021 o 12:09 BERTRAND Joël napisał(a): > Trampas Stern a écrit : > > You also need to send the rest of the code. > This was actually a good advice, most likely the bug is in your code, so seeing the rest would be helpful > uint8_t > iso14443a_anticol(uint8_t wup, rfid_tag_t *tag)

Re: Of course, I have a memory corruption, but I'm not able to fix it...

2021-05-21 Thread BERTRAND Joël
Trampas Stern a écrit : > You also  need to send the rest of the code.  > > For example it could be that rx_len is where memory overflow is happening > > cascade: > *    rx_len = sizeof(sak);* > snprintf(t, 3, "%d", (*tag).level); > > On Thu, May 20, 2021 at 11:07 AM Trampas Stern