diff options
author | Belgin ?tirbu <belginstirbu@hotmail.com> | 2020-01-03 06:50:40 +0000 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-01-03 22:24:17 +0100 |
commit | e44a9cc5604eac3f83e355c7d8882e879b230c7e (patch) | |
tree | 877d564fb77d3c1bf0858d87cd07e589d759a20a /samsung-ril.c | |
parent | 9a6fd5bcc42c0bcef1d2a1fd27d023007ef1416d (diff) | |
download | hardware_replicant_libsamsung-ril-e44a9cc5604eac3f83e355c7d8882e879b230c7e.tar.gz hardware_replicant_libsamsung-ril-e44a9cc5604eac3f83e355c7d8882e879b230c7e.tar.bz2 hardware_replicant_libsamsung-ril-e44a9cc5604eac3f83e355c7d8882e879b230c7e.zip |
Fixed incorrect parsing of TLV datareplicant-6.0-0004-rc1
This problem prevented the SIM to be fully recognized and only incoming calls/messages worked.
The issue is the code assumes tag 0x88 exists, and then assumes that the TLV right before it is the size tag.
These two assumptions are sometimes wrong.
The solution is to send the data as-is to the java RIL because it can also parse TLVs.
Signed-off-by: Belgin Stirbu <belginstirbu@hotmail.com>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'samsung-ril.c')
0 files changed, 0 insertions, 0 deletions