Commit Graph

6297 Commits

Author SHA1 Message Date
jimying e52a1a325d
Minor modify (ice_strans): incorrect free resource (#3481) 2023-04-04 18:16:28 +08:00
Nanang Izzuddin 11a91fc1df
Add Reason/Warning header in disconnecting call (#3475) 2023-04-04 15:37:52 +07:00
Olle Axelsson 340a1b21e4
2nd INVITE not being handled (#3458) 2023-03-30 14:31:06 +08:00
Benny Prijono 17ee152f97
Prevent CI actions from running twice on some PR commits (#3470) 2023-03-30 13:15:53 +07:00
Benny Prijono f29892c470
Merge pull request #3390 from pjsip/coverity01
Support Coverity Scan
2023-03-30 07:17:56 +07:00
Oliver Epper 64e136e5a2
zero initialize the message buffer (#3447) 2023-03-29 15:33:17 +08:00
sauwming bdc66d4d41 Revert previous fix in timer test 2023-03-29 14:43:45 +08:00
bennylp d63c18136a Fix gcc sign-compare warnings 2023-03-29 13:30:36 +07:00
bennylp 2a69b0a5a8 Fix compilation warnings with stricter gcc options: -Werror -Wextra -Wno-missing-field-initializers -Wno-sign-compare -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-shift-negative-value 2023-03-29 11:57:21 +07:00
bennylp 52fe443ea1 Minor changes based on reviews 2023-03-29 11:28:27 +07:00
bennylp 336bc36e28 Merge branch 'master' of https://github.com/pjsip/pjproject into coverity01 2023-03-29 07:34:40 +07:00
bennylp d32ec571f5 (Take 4): testing new GH action in this branch 2023-03-28 17:23:37 +07:00
bennylp 326bf6d00a (Take 3): testing new GH action in this branch 2023-03-28 14:35:59 +07:00
bennylp 1060cc77f2 (Take 2): Temporarily add pull_request trigger to register new action in this branch 2023-03-28 14:07:07 +07:00
bennylp 9fe350735e Temporarily add pull_request trigger to register this action 2023-03-28 14:01:57 +07:00
bennylp 91470a0b99 Add GH actions for coverity scan 2023-03-28 11:52:47 +07:00
bennylp 7a058dee81 Replace unsafe string functions such as sprintf, strcpy with the safer counterparts e.g. snprintf, strxcpy 2023-03-27 18:48:25 +07:00
Olle Axelsson 2ec664fcb2
Consider session terminated on 408 and 481 response (#3457) 2023-03-27 10:55:19 +08:00
sauwming 6f93c61854 Fixed uncompleted patch for SSL and pjsua_pres 2023-03-24 12:40:40 +08:00
bennylp 6f8b87c562 Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-03-24 11:11:27 +07:00
bennylp 5ed9461bbe Replace unsafe string functions such as strcpy, strncpy, strcat, and sprintf with newly implemented pj_ansi_strxcpy, pj_ansi_strxcpy2, and pj_ansi_strxcat 2023-03-24 11:11:20 +07:00
sauwming 1af53dd4ae Fixed more warnings 2023-03-23 19:05:43 +08:00
sauwming 978463060d Fixed incorrect SSL patch 2023-03-23 13:53:57 +08:00
sauwming dd15679ae4 Fixed warnings in pjsip 2023-03-23 13:21:05 +08:00
sauwming 02356e87f7 Fixed warnings in pjlib, pjmedia, and pjnath 2023-03-23 12:10:45 +08:00
bennylp 2aaad7daf5 Enable more features in config_site.h to be checked by coverity scan 2023-03-23 09:11:14 +07:00
bennylp 6340cd143f Fixed printf style format warnings 2023-03-23 08:30:44 +07:00
bennylp 963192c76d Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-03-22 08:45:48 +07:00
bennylp 398fabd77f Fixed printf style format warnings 2023-03-22 08:45:23 +07:00
sauwming 1075aa7afc
Fixed TURN allocation parameter (#3452) 2023-03-22 08:23:58 +08:00
sauwming b9005d85b9
Fixed adding note to a tuple when adding RPID element (#3453) 2023-03-22 08:23:33 +08:00
sauwming eaa8c37872 Fixed build failure due to printf format security error 2023-03-21 13:55:08 +08:00
sauwming da72b21161 Fixed build failure on Bitrise Android 2023-03-21 13:45:11 +08:00
sauwming d085750146 sip_transport_udp: Fixed logically dead code because of incorrect packet size check 2023-03-21 13:25:43 +08:00
sauwming d9ad85a04d transport_ice: Fixed comparison of ICE callback 2023-03-21 13:21:42 +08:00
sauwming b71c7e8092 transport_ice: Fix rtcp mux address copy since addr can be NULL 2023-03-21 13:14:34 +08:00
sauwming 3d32f26e32 sip_inv: Add checking of pjsip_dlg_create_response() return status 2023-03-21 13:13:46 +08:00
sauwming 51072289a3 Apply printf decor to pj_perror() 2023-03-21 11:48:47 +08:00
sauwming 29d872af40 Merge branch 'master' into coverity01 2023-03-20 18:29:57 +08:00
sauwming 86b2ed38be Fixed printf format warnings (part 1) 2023-03-20 18:29:25 +08:00
sauwming 74b0df1b04
Check if interface address returned by pj_getipinterface() is link-local address (#3442) 2023-03-20 14:25:44 +08:00
sauwming 195cd3740f
Modify default value of PJ_MAX_HOSTNAME (#3438) 2023-03-20 14:25:16 +08:00
sauwming 15902a8184
Respond with ACK first before hanging up call for dialog fork (#3445) 2023-03-20 09:38:49 +08:00
bennylp f94ec926da Fix coverity scan warnings 2023-03-17 16:24:38 +07:00
jimying 651df5b501
fuzz: PJMEDIA_HAS_VIDEO macro protect (#3446) 2023-03-17 11:31:15 +08:00
bennylp ce8508ab51 Fixed coverity scan warnings 2023-03-16 16:51:42 +07:00
Arjun 3fd4726d7f
oss-fuzz ideal integration (#3430) 2023-03-16 16:29:59 +08:00
Riza Sulistyo 1d4705b0f6
Return error when calling pjsua_call_get_stream_info()/pjsua_call_get_stream_stat() on an inactive stream (#3412) 2023-03-16 15:08:22 +08:00
jimying 649c05eb70
Fix scan-build (Clang Static Analyzer) build fail (#3443) 2023-03-16 14:07:02 +08:00
bennylp 319bbab087 Fix coverity scan warnings 2023-03-15 17:15:00 +07:00