Dong Anyuan
0e2406f0fe
Remove Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-21 18:31:58 +09:00
Dong Anyuan
f6765e0633
Fix Coverity Scan CID 340232 (Variable message_p going out of scope leaks the storage it points to.)
2019-06-20 14:00:24 +09:00
Dong Anyuan
e9267be8db
Fix Coverity Scan CID 340243 (Overrunning array of 1 bytes at byte offset 1 by dereferencing pointer ie->value.choice.UESecurityCapabilities.encryptionAlgorithms.buf + 1.)
2019-06-20 13:58:52 +09:00
Dong Anyuan
3b96a7ac3f
Fix Coverity Scan CID 60241 (Passing &eplmn to function emm_proc_attach_accept which uses it as an array. This might corrupt or misinterpret adjacent memory locations.)
2019-06-20 12:39:06 +09:00
Dong Anyuan
7cf75c6d50
Fix Coverity Scan CID 60277 (Calling strncpy with a maximum size argument of 4096 bytes on destination array user_api_id->recv_buffer of size 4096 bytes might leave the destination string unterminated.)
2019-06-20 12:38:33 +09:00
Dong Anyuan
4eb0344714
Fix Coverity Scan CID 60348 (Variable addr going out of scope leaks the storage it points to.)
2019-06-20 12:37:36 +09:00
Dong Anyuan
264e429f23
Fix Coverity Scan CID 60351 (Variable sctp_cnx going out of scope leaks the storage it points to.)
2019-06-20 12:37:08 +09:00
Dong Anyuan
1338654285
Fix Coverity Scan CID 60357 (Handle variable sfd going out of scope leaks the handle.)
2019-06-20 12:36:38 +09:00
Dong Anyuan
42f481b51e
Fix Coverity Scan CID 60369 (Variable plain_msg going out of scope leaks the storage it points to.)
2019-06-20 12:36:02 +09:00
Dong Anyuan
d7f9a3578d
Fix Coverity Scan CID 60371 (Handle variable fd going out of scope leaks the handle.)
2019-06-20 12:35:33 +09:00
Dong Anyuan
1d017a3625
Fix Coverity Scan CID 60372 (Handle variable sd going out of scope leaks the handle.)
2019-06-20 12:35:04 +09:00
Dong Anyuan
65d168143f
Fix Coverity Scan CID 60387 (Using uninitialized value ulp. Field ulp.hUlp is uninitialized when calling nwGtpv1uSetUlpEntity.)
2019-06-20 12:34:27 +09:00
Dong Anyuan
db137bf1d5
Fix Coverity Scan CID 60393 (Using uninitialized value pid when calling esm_ebr_context_release.)
2019-06-20 12:33:52 +09:00
Dong Anyuan
47758322b6
Fix Coverity Scan CID 60394 (Using uninitialized value addr6. Field addr6.sin6_flowinfo is uninitialized when calling bind.)
2019-06-20 12:33:09 +09:00
Dong Anyuan
8084d6d247
Fix Coverity Scan CID 60413 (Using uninitialized value udp. Field udp.hUdp is uninitialized when calling nwGtpv1uSetUdpEntity.)
2019-06-20 12:32:36 +09:00
Dong Anyuan
5275b4c7c6
Fix Coverity Scan CID 60435 (Using uninitialized value bid when calling esm_ebr_context_release.)
2019-06-20 12:31:35 +09:00
Dong Anyuan
731d10d9fa
Fix Coverity Scan CID 60469 (Using uninitialized value log. Field log.logMgrHandle is uninitialized when calling nwGtpv1uSetLogMgrEntity.)
2019-06-20 12:30:49 +09:00
Dong Anyuan
c4d56a9331
Fix Coverity Scan CID 60471 (Function memory_read does not terminate string *user->nas_user_nvdata.)
2019-06-20 12:02:32 +09:00
Dong Anyuan
8fe94b2f2c
Fix Coverity Scan CID 261458 (Variable message_p going out of scope leaks the storage it points to.)
2019-06-20 12:00:51 +09:00
Dong Anyuan
325e6e525c
Fix Coverity Scan CID 261481 (Overwriting message_p in message_p = NULL leaks the storage that message_p points to.)
2019-06-20 11:35:46 +09:00
Dong Anyuan
ac6f5dceb0
Fix Coverity Scan CID 261499 (Overrunning array sqn_ms of 6 bytes at byte offset 6 using index 6 - i (which evaluates to 6).)
2019-06-20 11:28:22 +09:00
Dong Anyuan
dbcfda529d
Fix Coverity Scan CID 261543 (Overrunning array usim_data->usim_sqn_data.sqn_ms of 6 bytes at byte offset 6 using index 6 - i (which evaluates to 6).)
2019-06-20 11:17:33 +09:00
Dong Anyuan
c41af020a2
Fix Coverity Scan CID 339932 (Overrunning array messages_callback of 48 24-byte elements at element index 48 (byte offset 1152) using index pdu.choice.initiatingMessage.procedureCode (which evaluates to 48).)
2019-05-28 20:14:25 +09:00
SAWADA Kentaro
95b5f2baba
Fix Coverity Scan CID 339973
2019-05-28 19:16:50 +09:00
frtabu
30b7c973e0
merge nfapi_cleanup
2019-04-05 18:43:40 +02:00
Raphael Defosseux
cce291c5fc
CI: fixing the cppcheck assertion non-check.
...
fixed also new warnings
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-03-27 11:10:35 +01:00
Robert Schmidt
62d9b8cf36
Merge branch 'develop' into feature-127-protocol-split
2019-03-14 13:10:21 +01:00
Konstantinos Alexandris
a8eefbcf58
sctp: bugfix: use correct instance (not default) for sctp_itti_send_new_message_ind
2019-03-05 14:56:42 +01:00
Konstantinos Alexandris
3179722161
x2: bug fixes
...
- free correctly in rrc_eNB_free_mem_UE_context
- check for existence of ue_context.handover_info in rrc_enb_process_itti_msg
- check return value sctp_peeloff in sctp_handle_new_association_req_multi
and exit in case of failure
2019-03-05 14:56:42 +01:00
Robert Schmidt
f9c4c501e3
Merge branch 'develop' into feature-127-protocol-split
2019-03-05 14:17:38 +01:00
Robert Schmidt
544d80c40d
Merge branch 'develop' into feature-127-protocol-split
2019-02-25 18:06:35 +01:00
frtabu
79d0042c4a
Merge branch 'develop' into issue392-simplify-s1-nos1step2
2019-02-25 17:37:20 +01:00
frtabu
fb46545526
Fix corrupted LOGs in L1L2simulator, introducing two new components NFAPI_VNF and NFAPI_pnf. Integrate Fujitsu fix for up to 50 UEs. Apply astyle to all modified files in the branch
2019-02-25 16:50:03 +01:00
Robert Schmidt
030e11ba9a
Merge branch 'develop' into feature-127-protocol-split
2019-02-21 20:18:35 +01:00
frtabu
eb26975451
attempt to fix l2 simulator issue
2019-02-19 19:50:44 +01:00
Raphael Defosseux
9aab83c509
Fixing a few last cppcheck errors/warnings
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-19 17:42:27 +01:00
frtabu
3f61d5f720
fix compilation warning
2019-02-17 23:46:45 +01:00
frtabu
38d772d8a2
nos1 et s1 execs identical, nos1 enforced based on exec name or --noS1 option
2019-02-17 23:46:45 +01:00
Raphael Defosseux
d14ad6797e
Applying the cppcheck fix on last files
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-15 19:18:24 +01:00
Raphael Defosseux
341fedd468
Merge branch 'issue394_fix_cppcheck' into develop_integration_2019_w07_v2
...
--> openair2/LAYER2/MAC/eNB_scheduler_primitives.c is still old (not from issue394_fix_cppcheck branch)
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-15 12:24:19 +01:00
Raphael Defosseux
66f654cd0a
CI: astyle trying to help merge
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-15 11:52:25 +01:00
Raphael Defosseux
9b143e9a69
CI: astyle to help merge
...
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr >
2019-02-15 11:51:10 +01:00
Cedric Roux
1c6b9f0eda
Merge remote-tracking branch 'origin/develop' into x2
...
Conflicts:
openair2/LAYER2/MAC/config.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/rrc_defs.h
2019-02-13 15:20:45 +01:00
frtabu
60defa245d
more fixes for cppcheck
2019-02-12 10:12:07 +01:00
frtabu
d0a3788ca8
re-apply fixes lost with last rebase
2019-02-12 10:12:07 +01:00
frtabu
299f627d8a
more fixes for cppcheck, soon all the easiest ones completed (invalid printf format...)
2019-02-12 10:12:07 +01:00
frtabu
875bdaf282
cppcheck fixes (2)
2019-02-12 09:46:02 +01:00
frtabu
501ae74cb5
first set of cppcheck fixes
2019-02-12 09:46:02 +01:00
Raymond Knopp
e704e7ccc0
Merge remote-tracking branch 'origin/develop' into enhancement-ltem
2019-02-07 23:58:17 +01:00
Cedric Roux
932f6017fa
fix after merge
2019-02-01 14:52:38 +01:00