osmo-hlr/src
Neels Hofmeyr 9b8e7b4e39 hlr_subscr_nam(): fix condition to fix nam=false notifications
Firstly, vlr_number[] is an array and we need to check the first char for nul
instead of the pointer.

Also, osmo_ipa_name_set_str() returns zero on success, so the condition is
reversed.

hlr_subscr_nam() was rewritten in I3a8dff3d4a1cbe10d6ab08257a0138d6b2a082d9
ad868e29ba and this likely fixes a bug introduced
there.

Related: coverity CID#210169
Change-Id: I3a0e9ed4b865c88aa4a6341a3bf1a96c10d20ed9
2020-05-04 19:24:26 +02:00
..
gsupclient osmo_gsup_req_new(): require from_peer != NULL 2020-05-04 17:37:15 +02:00
mslookup mdns_rfc.c: fix possible access of uninit. mem 2020-01-31 15:27:50 +00:00
Makefile.am D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
auc.c move headers to include/osmocom/hlr 2019-11-20 01:25:39 +01:00
ctrl.c move headers to include/osmocom/hlr 2019-11-20 01:25:39 +01:00
db.c db v5: prep for D-GSM: add vlr_via_proxy and sgsn_via_proxy 2020-04-30 19:22:24 +02:00
db_auc.c auc3g: officially wrap IND around IND_bitlen space 2020-04-30 19:22:24 +02:00
db_debug.c src/db.c: integrate SQLite3 with talloc allocator 2019-07-30 17:15:17 +00:00
db_hlr.c drop error log for when a subscriber does not exist 2020-04-30 19:22:24 +02:00
db_sql2c.sed Rename db_bootstrap.sed to db_sql2c.sed 2018-12-04 14:13:47 +01:00
dbd_decode_binary.c add osmo-hlr-db-tool, program to migrate from osmo-nitb db 2017-10-28 20:34:01 +02:00
dgsm.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
dgsm_vty.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
gsup_router.c 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2020-04-30 19:16:09 +02:00
gsup_send.c 1/2: refactor: add and use lu_fsm, osmo_gsup_req, osmo_ipa_name 2020-04-30 19:16:09 +02:00
gsup_server.c gsup_server.c: properly handle negative rc from osmo_gsup_conn_ccm_get() 2020-05-04 17:53:52 +02:00
hlr.c hlr_subscr_nam(): fix condition to fix nam=false notifications 2020-05-04 19:24:26 +02:00
hlr_db_tool.c move headers to include/osmocom/hlr 2019-11-20 01:25:39 +01:00
hlr_ussd.c 2/2: wrap ipa_name in osmo_cni_peer_id with type enum and union 2020-04-30 19:19:17 +02:00
hlr_vty.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
hlr_vty_subscr.c vty: show subscriber: show lu d,h,m,s ago, not just seconds 2020-04-30 19:22:24 +02:00
logging.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
lu_fsm.c 2/2: wrap ipa_name in osmo_cni_peer_id with type enum and union 2020-04-30 19:19:17 +02:00
mslookup_server.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
mslookup_server_mdns.c osmo_mslookup_server_mdns_rx(): handle read() rc == 0 2020-05-04 19:15:29 +02:00
osmo-euse-demo.c move headers to include/osmocom/hlr 2019-11-20 01:25:39 +01:00
populate_hlr_db.pl populate_hlr_db.pl: Script to generate a HLR database 2016-05-03 18:51:40 +02:00
proxy.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
rand_fake.c initial import of osmo-gsup-hlr code so far 2016-04-28 07:18:49 +02:00
rand_urandom.c initial import of osmo-gsup-hlr code so far 2016-04-28 07:18:49 +02:00
remote_hlr.c D-GSM 3/n: implement roaming by mslookup in osmo-hlr 2020-04-30 19:22:24 +02:00
timestamp.c D-GSM 1/n: add mslookup server in osmo-hlr 2020-04-30 19:22:24 +02:00