Provisioning MVNO logic fails if match_data is shorter then IMSI

Bug #1347733 reported by Tony Espy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ofono (Ubuntu)
Fix Released
High
Martti Piirainen

Bug Description

The ubuntu apn logic handles MVNOs by looking at two apn attribites, mvno_type and mvno_match_data. If the mvno_type is 'imsi', then the contents of mvno_match_data are compared to the provided IMSI. The mvno_match_data may contain wildcards indicated by the character "x", which match any digit.

If the mvno_match_data contains a string which is shorter than the actual IMSI, the matching logic fails ( eg. mvno_match_data="24803005x" ).

This was discovered during testing of a recent pull request:

https://github.com/rilmodem/ofono/pull/102

Related branches

Tony Espy (awe)
Changed in ofono (Ubuntu):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Tony Espy (awe)
Revision history for this message
Martti Piirainen (piiramar) wrote :

oFono pull request https://github.com/rilmodem/ofono/pull/105 should fix this.

Changed in ofono (Ubuntu):
assignee: Tony Espy (awe) → Martti Piirainen (piiramar)
Tony Espy (awe)
Changed in ofono (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ofono - 1.12.bzr6872+14.10.20140804-0ubuntu1

---------------
ofono (1.12.bzr6872+14.10.20140804-0ubuntu1) utopic; urgency=medium

  [ Alfonso Sanchez-Beato ]
  * doc, plugins/nettime.c: multi-modem support for nettime plugin
  * build, doc, gril, mtkmodem, rilmodem, plugins/ril.c,mtk.c: expose
    RadioSettings 'ModemTechnologies' property. This property can be
    used by clients to determine the supported raido technologies supported
    by a specific modem instance (LP: #1346790).
  * gril/gril.c, mtkmodem, plugins/mtk.c, unit: add support for SIM hot insertion/
    removal support. Hot-swap is disabled by default. It can be enabled
    by defining OFONO_RIL_HOT_SIM_SWAP env var.
  * gril, rilmodem, plugins/mtk.c,ril.c: MTK MMS fix. For standalone
    MMS contexts, the cid and a special MMS-specific data profile need
    to included in the SETUP_DATA_CALL request.
  * gril, mtk, ril, mtkmodem, rilmodem: Fix MTK data attachment (LP: #1349911)

  [ Martti Piirainen ]
  * plugins/ubuntu-apndb.c: fix IMSI provisioning (LP: #1347733)
 -- Ubuntu daily release <email address hidden> Mon, 04 Aug 2014 09:01:34 +0000

Changed in ofono (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.