Bug in the init_smsbox_routes of gw/bb_box.c

Денис Давыдов <[email protected]> Tue, 6 Aug 2019 15:52:50 +0300
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <CAA5Vwz8bXtYOiNnrHwzt+kjAUtasYEbQUM4EM8S0CXZkNbuyog@mail.gmail.com>
--000000000000fd54ea058f724d67
Content-Type: multipart/alternative; boundary="000000000000fd5318058f724d62"

--000000000000fd5318058f724d62
Content-Type: text/plain; charset="UTF-8"

Hello,

I found that the smsc_ids octet string is not destroyed in the
init_smsbox_routes function where smsc-id and shortcode are defined. See
attached patch. This is for 5282 revision and older.

--
Regards,
Denis S.Davydov

--000000000000fd5318058f724d62
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,=C2=A0<div><br></div><div>I found that the smsc_ids =
octet string is not destroyed in the init_smsbox_routes function where smsc=
-id and shortcode are defined. See attached patch.=C2=A0This is for 5282 re=
vision and older.</div><div><br clear=3D"all"><div><div dir=3D"ltr" class=
=3D"gmail_signature" data-smartmail=3D"gmail_signature">--<br><div><div cla=
ss=3D"gmail-m_-2250035932008860717gmail_signature">Regards,</div></div><div=
 class=3D"gmail-m_-2250035932008860717gmail_signature">Denis S.Davydov</div=
></div></div></div></div>

--000000000000fd5318058f724d62--

--000000000000fd54ea058f724d67
Content-Type: application/octet-stream; name="bb_boxc.patch"
Content-Disposition: attachment; filename="bb_boxc.patch"
Content-Transfer-Encoding: base64
Content-ID: <f_jyzspzo00>
X-Attachment-Id: f_jyzspzo00

SW5kZXg6IGd3L2JiX2JveGMuYw0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KLS0tIGd3L2JiX2JveGMuYyAgICAgICAg
KHJldmlzaW9uIDUyODIpDQorKysgZ3cvYmJfYm94Yy5jICAgICAgICAod29ya2luZyBjb3B5KQ0K
QEAgLTEyMTYsNiArMTIxNiw3IEBADQogICAgICAgICAgICAgfQ0KICAgICAgICAgICAgIGd3bGlz
dF9kZXN0cm95KGl0ZW1zLCBvY3RzdHJfZGVzdHJveV9pdGVtKTsNCiAgICAgICAgICAgICBvY3Rz
dHJfZGVzdHJveShzaG9ydGN1dHMpOw0KKyAgICAgICAgICAgIG9jdHN0cl9kZXN0cm95KHNtc2Nf
aWRzKTsNCiAgICAgICAgIH0NCiAgICAgICAgIG9jdHN0cl9kZXN0cm95KGJveGNfaWQpOw0KICAg
ICB9DQo=
--000000000000fd54ea058f724d67--