mirror of
https://github.com/sailfishos/ofono
synced 2025-12-02 23:51:10 +08:00
[sms] Don't drop SMS datagrams with unknown ports. Fixes MER#1137
This commit is contained in:
@@ -1369,8 +1369,7 @@ static void sms_dispatch(struct ofono_sms *sms, GSList *sms_list)
|
|||||||
|
|
||||||
if (srcport == -1 || dstport == -1) {
|
if (srcport == -1 || dstport == -1) {
|
||||||
ofono_error("Got an 8-bit encoded message, however "
|
ofono_error("Got an 8-bit encoded message, however "
|
||||||
"no valid src/address port, ignore");
|
"no valid src/address port");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buf = sms_decode_datagram(sms_list, &len);
|
buf = sms_decode_datagram(sms_list, &len);
|
||||||
|
|||||||
Reference in New Issue
Block a user