Project

General

Profile

Actions

Bug #2614

closed

simtrace_hdr randomly appears in APDU payload

Added by lukash over 6 years ago. Updated over 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
SIMtrace firmware
Target version:
-
Start date:
11/03/2017
Due date:
% Done:

0%

Spec Reference:

Description

A "random" sequence of bytes (which seems to look like simtrace_hdr) appears in APDU payload from time to time, breaking the apdu_split mechanism.

USB MSG: sh->cmd: 1, sh->flags: 0, sh->res[9, 5], payload: 00 a4 00 04 02 a4 6f 07 61 2a 00 c0 00 00 2a c0 62 28 82 02 41 21 83 02 6f 07 a5 0f 80 01 71 c0 01 00 91 04 7f 20 6f 07 92 01 00 8a 01 05 8b 03 6f 06 03 80 02 00 09 88 01 38 90 00 01 00 09 05 00 b0 00 00 09 b0 08 29 03 30 10 66 03 91 12 90 00 
APDU: 00 a4 00 04 02 6f 07 61 2a 
APDU: 00 c0 00 00 2a 62 28 82 02 41 21 83 02 6f 07 a5 0f 80 01 71 c0 01 00 91 04 7f 20 6f 07 92 01 00 8a 01 05 8b 03 6f 06 03 80 02 00 09 88 01 38 90 00 
APDU: **01 00 09 05** 00 b0 00 
APDU: 00 09 b0 08 29 03 30 
APDU: 10 66 03 91 12 90 00

The 01 00 09 05 seems to be sh->cmd, sh->flags, sh->res (2 bytes)
Guessing this is because somehow simtrace_hdr is appended into the data or 2 separate messages are somehow concatenated into one.

This seems to have been introduced after v0.5 firmware (IMHO it is in firmware).

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)