lynxis lazus uploaded patch set #2 to this change.

View Change

RFC: sim/class_tables: add a size attribute

osim_determine_apdu_case() doesn't know the size of the APDU,
this may result in reading invalid data outside the APDU.

Warning: this is an API breakage!

Instead adding a second function osim_determine_apdu_case_size()
could allow it. However because the class_tables.h also defines
the internal struct with the helper functions, which in turn has the same problem.

Change-Id: Iee50063399a0c3b29594e737f44aaa125fd06a2e
---
M include/osmocom/sim/class_tables.h
M src/sim/class_tables.c
M tests/sim/sim_test.c
3 files changed, 30 insertions(+), 16 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/78/43178/2

To view, visit change 43178. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Iee50063399a0c3b29594e737f44aaa125fd06a2e
Gerrit-Change-Number: 43178
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>