libosmocore/src/gsm
Neels Hofmeyr 34907fe6e1 revisit some calls of strtol(), stroul(), strtoull()
Replace some with atoi(), where the VTY has already validated correct
range of the argument.

Replace others with the new osmo_str_to_int() or osmo_str_to_int64()
functions, possibly covering more detection of invalid number strings.

Leave those strtol() callers that depend on endptr to provide the next
string token.

Related: SYS#5542
Change-Id: I0ebb06e751c28f7d1cdf328de29cd227a2449391
2021-10-04 11:24:59 +00:00
..
kdf kdf: add key derivation functions 2021-06-08 02:38:15 +02:00
milenage add osmo_auth_c3() (separate from gsm_milenage()) 2017-12-18 23:05:24 +00:00
Makefile.am kdf: add key derivation functions 2021-06-08 02:38:15 +02:00
a5.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
abis_nm.c Rename osmo dyn ts enums 2021-06-30 13:14:08 +02:00
apn.c make all library-internal static buffers thread-local 2019-06-04 10:47:30 +02:00
auth_comp128v1.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
auth_comp128v23.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
auth_core.c Use define for key buffers 2018-12-20 09:51:02 +00:00
auth_milenage.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
auth_xor.c libosmogsm: add support for XOR authentication 2019-11-22 17:39:42 +00:00
bsslap.c add BSSLAP coding for Location Services 2020-10-07 15:19:43 +02:00
bssmap_le.c add BSSMAP-LE coding for Location Services 2020-10-07 15:37:50 +02:00
bts_features.c bts_features: Add new feature to indicate support for temporary overpower 2021-08-31 19:54:28 +00:00
cbsp.c CBSP: Fix encoding of warning period 2021-02-22 10:06:12 +01:00
comp128.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
comp128v23.c comp128v23 (minor): update original code site and author 2018-08-04 17:23:23 +02:00
gad.c gad.c: fix rc for osmo_gad_enc_ell_point_unc_circle() 2020-10-15 01:02:04 +00:00
gan.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gea.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gprs_cipher_core.c Fix embedded build 2017-12-04 09:40:32 +00:00
gprs_gea.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gprs_rlc.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gsm48.c Make gcc 11.1.0 false positivies happy 2021-07-16 16:01:30 +00:00
gsm48_arfcn_range_encode.c range_enc_determine_range(): Don't dereference array on size=0 2021-06-01 14:04:20 +02:00
gsm48_ie.c gsm_04_08: add parser for Mobile Station Classmark 3 2020-11-12 15:55:31 +00:00
gsm48_rest_octets.c gsm: Introduce API osmo_gsm48_rest_octets_si13_decode 2021-02-18 00:54:33 +00:00
gsm0341.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
gsm0411_smc.c gsm0411_{smc,smr}.c: Work around newlib bug 2020-07-30 21:35:10 +02:00
gsm0411_smr.c fix spelling in 'value_string' arrays: existAnt -> existEnt 2020-10-29 18:09:36 +07:00
gsm0411_utils.c libosmogsm: (re)introduce gsm48_push_l3hdr() 2018-08-05 23:21:43 +07:00
gsm0414.c doxygen: unify use of \file across the board 2017-06-23 00:18:23 +00:00
gsm0480.c 04.80: Deprecate gsm0480_create_ussd_resp() 2019-11-30 12:39:39 +00:00
gsm0502.c libosmogsm: add Doxygen docs for gsm0502_hop_seq_gen() 2020-05-15 17:56:41 +00:00
gsm0808.c gsm0808: add Kc128 to Handover Request 2021-06-25 08:19:04 +00:00
gsm0808_utils.c add fixme: enforce 8 byte length of Kc 2021-06-29 22:35:03 +02:00
gsm23003.c revisit some calls of strtol(), stroul(), strtoull() 2021-10-04 11:24:59 +00:00
gsm23236.c revisit some calls of strtol(), stroul(), strtoull() 2021-10-04 11:24:59 +00:00
gsm29118.c Revert "add osmo_mobile_identity API" 2020-06-16 09:21:08 +02:00
gsm29205.c LCLS: add string dump helpers 2019-02-26 09:16:38 +00:00
gsm48049.c gsm/gsm48049.c: fix use of GNU 'missing =' extension in designator 2020-01-21 18:34:04 +07:00
gsm_04_08_gprs.c fix spelling in 'value_string' arrays: existAnt -> existEnt 2020-10-29 18:09:36 +07:00
gsm_utils.c gsm: Mark gsm0858_rsl_ul_meas_enc() pointer param const 2021-09-28 11:32:00 +02:00
gsup.c gsup: Introduce OSMO_GSUP_NUM_VECTORS_REQ_IE 2019-12-09 10:54:30 +00:00
gsup_sms.c GSUP/SMS: introduce MO-/MT-FORWARD-SM messages 2018-12-18 21:52:01 +07:00
i460_mux.c i460: Fix bit- and subslots ordering of I.460 mux + demux 2020-08-02 21:57:05 +02:00
ipa.c ipa_ccm_make_id_resp: Make it work at all 2021-04-29 19:59:12 +02:00
kasumi.c gsm: kasumi: Fix dynamic-stack-buffer-overflow on out buffers not multiple of 64 bits 2018-05-17 12:13:04 +02:00
kdf.c kdf: add key derivation functions 2021-06-08 02:38:15 +02:00
lapd_core.c lapd_core: Don't dereference data link after sending PRIM_DL_REL 2020-12-21 17:43:54 +01:00
lapdm.c lapdm: Drop log lines printing fmt=B 2020-10-21 11:54:23 +00:00
libosmogsm.map add Kc128 to gsm0808 Create Ciphering Command 2021-06-21 00:36:46 +02:00
mncc.c mncc: properly export osmo_mncc_name() 2018-05-24 12:19:45 +02:00
oap.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
oap_client.c oap_client: Fix license: GPLv2+ instead of AGPLv3+ 2019-05-27 23:26:45 +02:00
rsl.c fix rsl_chan_nr_str_{buf,c}(): enlarge the buffer size 2021-10-01 15:47:05 +06:00
rxlev_stat.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
sysinfo.c Fix/Update copyright notices; Add SPDX annotation 2017-11-13 01:35:12 +09:00
tlv_parser.c cosmetic: tlv_parser: fix typo in func description 2021-04-14 17:21:02 +02:00