f6a0dff2b8
debug logs
2025-10-30 01:35:36 +08:00
342e18c37e
debug logs
2025-10-30 01:02:24 +08:00
ded0ec01b9
debug logs
2025-10-23 23:34:21 +08:00
71742217ad
debug logs
2025-10-23 23:15:42 +08:00
c7843fddbe
debug logs
2025-10-23 23:01:30 +08:00
c5e4abc4f0
debug logs
2025-10-21 23:20:51 +08:00
6a810e219d
debug logs
2025-10-21 00:21:19 +08:00
49784a9a37
debug logs
2025-10-18 14:56:12 +08:00
379e083c1f
debian files
2025-10-17 22:20:19 +08:00
TheKit
37752609ae
slot-manager: prevent indefinite "Skipping auto-select of data SIM"
...
On devices with eSIM, there can be a case when the SIM chip is
present but not provisioned yet. In this case, it will report
SIM_PRESENT but have no IMSI, which would cause slot-manager to skip
auto-selection of data SIM.
Add a 3-second timeout after which we proceed with auto-selection
regardless of SIM initialization state. This avoids being stuck
without any data SIM selected in case an unprovisioned eSIM or
a broken SIM is present.
2025-10-17 22:19:00 +08:00
TheKit
4059682638
gprs: default IMS type APN to "ims" during context creation
...
Make sure the IP protocol setting of the IMS context allows IPv6.
2025-10-17 22:18:59 +08:00
Sicelo A. Mhlongo
72e3528d64
ussd: ensure ussd content fits in buffers
...
Fixes: CVE-2024-7539
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=389e2344f86319265fb72ae590b470716e038fdc
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Sicelo A. Mhlongo
da038c5237
atmodem: sms: ensure buffer is initialized before use
...
Fixes: CVE-2024-7540
Fixes: CVE-2024-7541
Fixes: CVE-2024-7542
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=29ff6334b492504ace101be748b256e6953d2c2f
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Sicelo A. Mhlongo
ca3a165d0e
smsutil: check status report fits in buffer
...
Fixes CVE-2023-4232
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=2ff2da7ac374a790f8b2a0216bcb4e3126498225
2025-10-17 22:18:59 +08:00
Sicelo A. Mhlongo
dcdcc11c61
smsutil: check deliver reports fit in buffer
...
Fixes CVE-2023-4235
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=02aa0f9bad3d9e47a152fc045d0f51874d901d7e
2025-10-17 22:18:59 +08:00
Sicelo A. Mhlongo
d109418aa0
stkutil: ensure data fits in buffer
...
Fixes CVE-2024-7545
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=556e14548c38c2b96d85881542046ee7ed750bb5
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Ivaylo Dimitrov
85c91adaf7
Fix CVE-2024-7546
...
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=79ea6677669e50b0bb9c231765adb4f81c375f63
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Ivaylo Dimitrov
5497cecb66
Fix CVE-2024-7547
...
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=305df050d02aea8532f7625d6642685aa530f9b0
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Ivaylo Dimitrov
1c5fb237c3
stkutil: Fix CVE-2024-7543
...
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=90e60ada012de42964214d8155260f5749d0dcc7
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Ivaylo Dimitrov
9792bc6745
stkutil: Fix CVE-2024-7544
...
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=a240705a0d5d41eca6de4125ab2349ecde4c873a
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1078555
2025-10-17 22:18:59 +08:00
Jean-Marie Lemetayer
99efc6ed3b
smsutil: check that user data length fits in internal buffer
...
This addresses CVE-2023-2794.
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=5209fd65ff41653d7725e407ccc359c54bb3121f
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2255387
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono/-/issues/2
2025-10-17 22:18:59 +08:00
Denis Kenzior
8d298e0800
smsutil: Use a safer strlcpy
...
sms_address_from_string is meant as private API, to be used with string
form addresses that have already been sanitized. However, to be safe,
use a safe version of strcpy to avoid overflowing the buffer in case the
input was not sanitized properly. While here, add a '__' prefix to the
function name to help make it clearer that this API is private and
should be used with more care.
[ratchanan@ubports.com:
- replaces usage of l_strlcpy() with g_strlcpy(), as the former comes
from ELL which has become oFono's dependency only since recent
versions of oFono.
- migrates sms_address_from_string() usages in SailfishOS-specific
patches to the new name.
]
Origin: backport, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=8fa1fdfcb54e1edb588c6a5e2688880b065a39c9
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2255387
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono/-/issues/2
2025-10-17 22:18:59 +08:00
Denis Kenzior
5e80e967e7
simutil: Make sure set_length on the parent succeeds
...
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=07f48b23e3877ef7d15a7b0b8b79d32ad0a3607e
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2255387
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono/-/issues/2
2025-10-17 22:18:58 +08:00
Denis Kenzior
629f805691
smsutil: Check cbs_dcs_decode return value
...
It is better to explicitly check the return value of cbs_dcs_decode
instead of relying on udhi not being changed due to side-effects.
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=7f2adfa22fbae824f8e2c3ae86a3f51da31ee400
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2255387
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono/-/issues/2
2025-10-17 22:18:58 +08:00
Denis Kenzior
b61df8f8fc
smsutil: ensure the address length in bytes <= 10
...
If a specially formatted SMS is received, it is conceivable that the
address length might overflow the structure it is being parsed into.
Ensure that the length in bytes of the address never exceeds 10.
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=a90421d8e45d63b304dc010baba24633e7869682
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2255387
Bug-UBports: https://gitlab.com/ubports/development/core/packaging/ofono/-/issues/2
2025-10-17 22:18:58 +08:00
Denis Grigorev
bbbccddf95
smsutil: Validate the length of the address field
...
This addresses CVE-2023-4233.
[ratchanan@ubports.com: fixup the path in the patch.]
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=1a5fbefa59465bec80425add562bdb1d36ec8e23
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=2255396
Bug-UBports: https://gitlab.com/ubports/ubuntu-touch/-/issues/2167
2025-10-17 22:18:58 +08:00
Denis Grigorev
9b367aad7f
smsutil: Check that submit report fits in memory
...
This addresses CVE-2023-4234.
[ratchanan@ubports.com: fixup the file path in the patch.]
Origin: upstream, https://git.kernel.org/pub/scm/network/ofono/ofono.git/commit/?id=8d74bc66146ea78620d140640a0a57af86fc8936
Bug-RedHat: https://bugzilla.redhat.com/show_bug.cgi?id=2255399
Bug-UBports: https://gitlab.com/ubports/ubuntu-touch/-/issues/2167
2025-10-17 22:18:58 +08:00
Ratchanan Srirattanamet
574e3edbbe
Make the package -sailfish varianted
2025-10-17 22:18:58 +08:00
Ratchanan Srirattanamet
b1e794a9f0
Make it possible to make a varianted package
...
To build a varianted package, patch the package name in `configure.ac`
and pass `--includedir` to `configure`.
Varianted package have its pkg-config file and plugin directory renamed.
It's recommended to also pass --includedir to `configure`.
2025-10-17 22:18:58 +08:00
Tony Espy
9fa25c88bd
src: fix combined gprs-context property logic
...
This change modifies the gprs combined context ( Internet/MMS )
logic such that the MessageCenter and MessageProxy properties
are only added to a combined context if non-empty. This differs
from the MMS logic where these properties will be added even if
the values from the context are zero-length strings.
2025-10-17 22:18:58 +08:00
Jussi Kangas
eb40834f57
src: allow MessageCenter/Proxy for TYPE_INTERNET and TYPE_MMS
...
Client must be able to modify all properties that are specified
as modifiable in gprs interface specification.
2025-10-17 22:18:58 +08:00
José Pekkarinen
9f9f948fbe
src/gprs: when reset 1 context, also update MMSC from provisioning data
...
[ratchanan@ubports.com: extract from José's original, write the patch
description.
Also note that this patch patches the part specific to Sailfish OS's
fork of oFono.
]
2025-10-17 22:18:58 +08:00
José Pekkarinen
f84e8a4b52
src/gprs: also set up IP route for TYPE_INTERNET when there's an MMSC
...
[ratchanan@ubports.com: extract from José's original patch, write the
patch description.]
2025-10-17 22:18:58 +08:00
Tony Espy
96b1abf4b7
src: allow MessageCenter/Proxy for TYPE_INTERNET
...
Allow a MessageCenter and MessageProxy to be set for an
OFONO_GPRS_CONTEXT_TYPE_INTERNET contexts in order to
support combined Internet/MMS contexts.
[ratchanan@ubports.com: forward-port to oFono 1.29]
2025-10-17 22:18:58 +08:00
2af482c061
cbs print pdu in case of cbs pdu decoding failure
2025-10-17 22:18:30 +08:00
29a261705a
It is possible for ril driver to feed this callback with null pointer
...
handle and error out so that it does not segfault later
2025-10-17 22:15:44 +08:00
TheKit
be2d4d8a36
mbpi: default to IPv4 during context provisioning
...
Using dual IPv4/IPv6 for internet contexts causes with some
cellular providers on Ubuntu Touch.
Related to https://github.com/ubports/ubuntu-touch/issues/1657
2025-10-17 22:14:06 +08:00
Marius Gripsgard
b718962f02
gprs: Add Preferred property to contexts
...
Add Preferred property to org.ofono.ConnectionContext. This property
is a way to express that a context is preferred over the others for
activation. It is a facility used by the ofono clients, but it is not
actually used internally.
2025-10-17 22:14:01 +08:00
Matti Lehtimäki
3afa0876c6
Merge pull request #40 from sailfishos/jb58763
...
[ofono] Add support for NR networks. JB#58763
2023-04-14 22:36:31 +03:00
Matti Lehtimäki
04162f719e
[ofono] Add support for NR networks. JB#58763
2023-01-02 11:26:51 +02:00
Slava Monich
4ae4d688ce
Merge pull request #41 from monich/uaf
...
Fix use after free
2023-01-02 11:13:43 +02:00
Slava Monich
224b551feb
[voicecall] Fix use after free. JB#54354
...
Thanks to Denis Grigorev for pointing it out.
2023-01-02 00:38:40 +02:00
Slava Monich
6acf808d89
Merge pull request #38 from monich/conf-mask
...
Allow merging mask conf values
2022-11-07 16:37:19 +02:00
Slava Monich
942b2efc3b
[ofono] Allow merging mask conf values. JB#59210
...
To allow syntax like disableFeatures += voice
2022-11-07 16:17:36 +02:00
Slava Monich
301b880a87
Merge pull request #37 from monich/cbs-topics-max
...
Widen the range of allowed cell broadcast channels
2022-10-27 02:12:01 +03:00
Slava Monich
933525829f
[cbs] Widen the range of allowed cell broadcast channels. JB#5761
2022-10-25 13:39:33 +03:00
Slava Monich
d8df18c80c
Updated upstream hash to point to 1.29
2022-10-25 13:25:52 +03:00
Slava Monich
47fd559c1b
Merge pull request #36 from monich/jb58727
...
Remove event source after closing BT socket
2022-09-08 01:18:26 +03:00
Slava Monich
8fa9a7068f
[hfp_ag_bluez5] Remove event source after closing BT socket. JB#58727
...
Otherwise GIOChannel stays alive and glib main loop keeps polling
invalid fd and eating up CPU time.
2022-09-07 17:21:24 +03:00
Slava Monich
10c1d7ac75
[ims] Tweak the treatment of the default Registration value
...
To handle the case if it's not IMS_REG_AUTO
2022-05-09 17:57:41 +03:00