Commit Graph

6231 Commits

Author SHA1 Message Date
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
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
bennylp 7615589583 Fixed misc potential bugs as detected by coverity scan 2023-03-15 10:06:02 +07:00
bennylp 8c2f28ee8a Fix bug in PJ_ASSERT_ON_FAIL if exec_on_fail is "break" or "continue" 2023-03-15 06:43:29 +07:00
bennylp 87294b91a1 Fix compilation warnings/errors after merge 2023-03-15 06:41:30 +07:00
bennylp b1873fcae4 Add coverity scan badge in README 2023-03-15 06:08:15 +07:00
bennylp a2abae0a40 Fixed coverity warnings 2023-03-15 05:23:10 +07:00
sauwming 528afc8cea Merge branch 'master' into coverity01 2023-03-14 21:08:58 +08:00
jimying 8c41a770fe
Use PJ_ARRAY_SIZE() replace sizeof()/sizeof() (#3439) 2023-03-14 18:33:54 +08:00
jimying dfe315ac5f
makefile: use $(MAKE) replace make (for BSD compatibility) (#3436) 2023-03-14 17:36:44 +08:00
sauwming 874ca0dfd6
Fixed pjsua app cli redirection answer (3xx) (#3437) 2023-03-14 10:59:00 +08:00
sauwming fd6125c4dd
Fixed buffer overflow in h264 unpacketizer (#3434) 2023-03-14 10:25:46 +08:00
sauwming 4680c7add7 Merge master 2023-03-14 10:24:59 +08:00
jimying b4184bb56d
Fix build with CFLAGS -Wextra warning reports (#3428) 2023-03-14 09:56:18 +08:00
sauwming d1c5e4da5b
Merge pull request from GHSA-q9cp-8wcq-7pfr
* Prevent heap buffer overflow when parsing DNS packet

* Fixed incorrect check in get_name*()
2023-03-14 09:45:23 +08:00
Andreas Wehrmann 5e2d564781
don't shadow local function parameter (#3435) 2023-03-13 17:11:01 +08:00
jimying 065599d8f2
Fix strtol overflow (#3426) 2023-03-13 16:09:47 +08:00
Nanang Izzuddin 0321bae17d
Fix SSRC media source in generating RTCP-FB. (#3429) 2023-03-13 11:14:27 +07:00