Skip to content
Success

Changes

Summary

  1. OmapiCallbackHandlerVpcd: fix extration of DF-Name (AID) (details)
Commit f5fca14a60df93485ac1bee5903bd9e702f12bf8 by pmaier@sysmocom.de
OmapiCallbackHandlerVpcd: fix extration of DF-Name (AID)

When the DF-Name (AID) is extracted from the SELECT TPDU, the length
of the TPDU is not checked properly, which may lead to an exception
in case no DF-Name (AID) is supplied. Let's put proper length checks
in place to filter corner cases and to ensure that the DF-Name (AID)
is properly extracted in case it is supplied.

Related: OS#6836
Change-Id: Idf08d752d046e012680c872552960cc069272777
The file was modifiedapp/src/main/java/org/osmocom/androidApduProxy/OmapiCallbackHandlerVpcd.java