2015-03-03 17:43:39 |
Ratchanan Srirattanamet |
bug |
|
|
added bug |
2015-03-03 23:49:27 |
Tony Espy |
ofono (Ubuntu): status |
New |
Confirmed |
|
2015-03-03 23:49:30 |
Tony Espy |
ofono (Ubuntu): assignee |
|
Tony Espy (awe) |
|
2015-03-03 23:49:33 |
Tony Espy |
ofono (Ubuntu): importance |
Undecided |
High |
|
2015-03-04 00:00:47 |
Tony Espy |
description |
In driver/rilmodem/sim.c, function sim_status_cb, there is a line that set variable search_index to status->gsm_utms_index. As status->gsm_umts_status may be -1 (ex: http://paste.ubuntu.com/10516444/ line 239), we should check if the value is not -1, and if it is, we should default to 0.
ofono version 1.12.bzr6888+15.04.20150224 in Ubuntu 15.04
Device: LG L90 Dual (I'm doing a port.) |
In driver/rilmodem/sim.c, function sim_status_cb, there is a line that set variable search_index to status->gsm_utms_index.
The code then checks if the card_state returned by the GET_SIM_STATUS reply is PRESENT and search_index is less than num_apps. If both are true, search_index is used to index the returned reply_sim_app array ( which leads to undefined behavior if the index is negative ) and then passed to configure_active_app().
The code should check search index, and if negative and num_apps >=1, set search_index to 0.
ofono version 1.12.bzr6888+15.04.20150224 in Ubuntu 15.04
Device: LG L90 Dual (I'm doing a port.) |
|
2015-03-04 19:05:21 |
Tony Espy |
ofono (Ubuntu): status |
Confirmed |
In Progress |
|
2015-03-06 13:02:21 |
Alfonso Sanchez-Beato |
bug |
|
|
added subscriber Alfonso Sanchez-Beato |
2015-03-10 16:12:03 |
Ratchanan Srirattanamet |
attachment added |
|
Log from ofonod with OFONO_RIL_TRACE="" OFONO_RIL_HEX_TRACE="" https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1427788/+attachment/4340179/+files/ofono-hex.log |
|
2015-03-10 16:13:49 |
Ratchanan Srirattanamet |
attachment removed |
Log from ofonod with OFONO_RIL_TRACE="" OFONO_RIL_HEX_TRACE="" https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1427788/+attachment/4340179/+files/ofono-hex.log |
|
|
2015-03-10 16:25:34 |
Ratchanan Srirattanamet |
attachment added |
|
ofono-hex.log https://bugs.launchpad.net/ubuntu/+source/ofono/+bug/1427788/+attachment/4340191/+files/ofono-hex.log |
|
2015-05-12 20:04:49 |
Tony Espy |
ofono (Ubuntu): status |
In Progress |
Fix Committed |
|
2015-05-20 16:32:54 |
Launchpad Janitor |
branch linked |
|
lp:~phablet-team/ofono/ota4-update |
|
2015-05-22 17:19:15 |
Pat McGowan |
bug task added |
|
canonical-devices-system-image |
|
2015-05-22 17:19:38 |
Pat McGowan |
canonical-devices-system-image: importance |
Undecided |
High |
|
2015-05-22 17:19:38 |
Pat McGowan |
canonical-devices-system-image: status |
New |
In Progress |
|
2015-05-22 17:19:38 |
Pat McGowan |
canonical-devices-system-image: milestone |
|
ww22-2015 |
|
2015-05-27 09:14:35 |
Launchpad Janitor |
ofono (Ubuntu): status |
Fix Committed |
Fix Released |
|
2015-05-28 06:06:43 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/ofono |
|
2015-06-02 12:01:47 |
Pat McGowan |
canonical-devices-system-image: status |
In Progress |
Fix Released |
|