osmo-msc/src/libmsc
Pau Espin 7e300d8741 smpp_smsc_conf: Fix heap-use-after-free
Fixes following error catched by enabling address sanitizer:
==20792==ERROR: AddressSanitizer: heap-use-after-free on address 0x60b000122610 at pc 0x7f9c9c3fe063 bp 0x7ffd2e68f600 sp 0x7ffd2e68edb0
READ of size 11 at 0x60b000122610 thread T0
    #0 0x7f9c9c3fe062  (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x3c062)
    #1 0x7f9c9beb8ee4 in talloc_strdup (/usr/lib/x86_64-linux-gnu/libtalloc.so.2+0x6ee4)
    #2 0x56096a7cf75b in smpp_smsc_conf src/libmsc/smpp_smsc.c:983
    #3 0x56096a7cf9df in smpp_smsc_start src/libmsc/smpp_smsc.c:1015
    #4 0x56096a7d4935 in smpp_openbsc_start src/libmsc/smpp_openbsc.c:785
    #5 0x56096a755ad0 in main src/osmo-msc/msc_main.c:598
    #6 0x7f9c9927b2e0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202e0)
    #7 0x56096a756979 in _start (/home/jenkins/workspace/osmo-gsm-tester_run-prod/trial-805/inst/osmo-msc/bin/osmo-msc+0xf0979)

Related: OS#3181

Change-Id: Iaf0d251c8d2912266a087ada4d20905146e08592
2018-04-17 16:10:35 +02:00
..
Makefile.am dissolve libcommon-cs: mv a_reset.c to libmsc 2018-03-22 17:07:36 +01:00
a_iface.c DTAP: Ensure proper DLCI is used in MSC-originated DTAP 2018-04-09 16:41:10 +02:00
a_iface_bssap.c fix BSC Clear Request 2018-04-11 21:39:44 +00:00
a_reset.c dissolve libcommon-cs: mv a_reset.c to libmsc 2018-03-22 17:07:36 +01:00
ctrl_commands.c Add control command to expire subscriber 2018-01-05 10:10:35 +00:00
db.c Wrap osmo_strlcpy() calls 2018-02-05 12:57:06 +01:00
gsm_04_08.c refactor VLR FSM result handling 2018-04-12 19:40:00 +00:00
gsm_04_11.c Permit any Sender MSISDN when sending SMS from VTY 2018-04-09 19:19:33 +02:00
gsm_04_14.c remove bsc_api.h and all users - they're all dead code 2018-02-14 00:28:02 +01:00
gsm_04_80.c libmsc/gsm_04_80.c: drop unused 'in_msg' argument 2018-04-09 18:57:33 +00:00
gsm_subscriber.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
iu_dummy.c iucs: Add a function to return the connection ID for the IU SCCP conn 2018-02-16 08:09:32 +00:00
iucs.c unify allocation of gsm_subscriber_connection 2018-04-05 01:10:32 +02:00
iucs_ranap.c properly receive BSSMAP Clear Complete and Iu Release Complete 2018-04-11 21:39:44 +00:00
mncc.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
mncc_builtin.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
mncc_sock.c dissolve libcommon: move talloc ctx into msc_main.c, drop talloc_ctx.c 2018-03-22 17:06:05 +01:00
msc_ifaces.c refactor subscr_conn and subscr_conn_fsm de-/alloc 2018-04-11 21:39:44 +00:00
msc_mgcp.c msc_mgcp: do not send wildcarded DLCX messages 2018-04-11 17:36:45 +02:00
msc_vty.c cosmetic: use enum ranap_nsap_addr_enc instead of int 2018-04-16 01:50:46 +02:00
osmo_msc.c msc conn ref counts: log human readable list of conn owners 2018-04-12 19:40:01 +00:00
rrlp.c Massive removal of unused code/structs/headers 2018-01-25 00:18:05 +01:00
silent_call.c silent call: clarify rc and error messages logged on vty 2018-03-10 05:17:38 +01:00
smpp_openbsc.c Wrap osmo_strlcpy() calls 2018-02-05 12:57:06 +01:00
smpp_smsc.c smpp_smsc_conf: Fix heap-use-after-free 2018-04-17 16:10:35 +02:00
smpp_smsc.h libmsc: add support for SMPP delivery receipts 2017-08-27 02:33:49 +02:00
smpp_utils.c dissolve libcommon: drop debug.c 2018-03-22 17:05:42 +01:00
smpp_vty.c vty: skip installing cmds now always installed by default 2017-11-01 00:51:21 +01:00
sms_queue.c sms_queue: fix use-after-free on 'pending' 2018-04-14 20:57:42 +02:00
subscr_conn.c refactor VLR FSM result handling 2018-04-12 19:40:00 +00:00
transaction.c refactor subscr_conn and subscr_conn_fsm de-/alloc 2018-04-11 21:39:44 +00:00
ussd.c libmsc/ussd: don't overwrite rc if decoding failed 2018-04-12 09:27:44 +00:00