Files
simtrace2/firmware/libcommon/source
Kévin Redon b60538888f cardem: fix USB message parsing
the msg->l2h pointer was not set but used later on, e.g. in
dispatch_usb_command_cardem, case SIMTRACE_MSGT_DT_CEMU_SET_ATR):
>   case SIMTRACE_MSGT_DT_CEMU_SET_ATR:
>   >   atr = (struct cardemu_usb_msg_set_atr *) msg->l2h;
>   >   card_emu_set_atr(ci->ch, atr->atr, atr->atr_len);
l2h is by default 0, thus not pointing to the actual message l2h.
I wonder how cardem worked worked before with this issue though.

Change-Id: Ifbb53dbf478d8dade82251f769e78e1306e77434
2018-07-18 14:06:23 +02:00
..
2018-07-18 14:00:57 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-18 14:06:23 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00
2018-07-11 22:01:58 +02:00