Commit Graph

6411 Commits

Author SHA1 Message Date
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
sauwming 669465a7d0
Add more fuzzing tests (#3422) 2023-03-13 09:18:54 +08:00
Jad K. Haddad a2ceae2652
Rust bindings for pjsua (#3275) 2023-03-13 09:05:20 +08:00
Kexin Li ea5452e85d
[Fix #3385 Assertion error] return status for proper status checking afterwards (#3389) 2023-03-13 09:04:39 +08:00
sauwming 93b6d942cf
Limit the number of searched blocks searched for pool allocation (#3423) 2023-03-13 07:58:05 +08:00
Florian Xaver f60d1c4746
Add function for printing SDP attributes (#3417) 2023-03-07 10:17:23 +07:00
sauwming 456b38700c Fixed reports classified as high impact 2023-03-03 10:53:22 +08:00
Riza Sulistyo 88d2c65d57
Add doc to pjsua_config::enable_unsolicited_mwi and UaConfig::mwiUnsolicitedEnabled (#3415)
* Add doc to pjsua_config::enable_unsolicited_mwi and UaConfig::mwiUnsolicitedEnabled

* Fix text
2023-03-01 19:30:56 +07:00
Riza Sulistyo 5fbf6b2537
Check tp_ref validity before referencing it in pjsip_tpmgr_acquire_transport2() (#3413) 2023-03-01 11:20:37 +07:00
Riza Sulistyo a672d40b56
Handle incoming MWI when there is no available account (#3411)
* Handle incoming MWI when there is no available account

* Remove not needed pjsua_acc_find_for_incoming()

* Change the response code

* Add the response text

* Change response text
2023-02-28 15:16:04 +07:00
sauwming ecddafbb1d Fixed warnings (3) 2023-02-28 12:50:51 +08:00
sauwming b4c4481866
Fixed bug in resample_resample (#3405) 2023-02-28 09:51:32 +08:00
Riza Sulistyo 2e0cc0123f
Fix multiple definition of pj_time_local_to_gmt() and pj_time_gmt_to_local() (#3408) 2023-02-28 07:54:17 +07:00
Nanang Izzuddin f7b8768a9a
Terminate dialog after receiving 481/408 response for UPDATE in early dialog state. (#3393) 2023-02-27 09:50:18 +07:00
sauwming b08b90edab
Fixed SDP fmtp parsing (#3401) 2023-02-27 09:53:14 +08:00
sauwming 24b0c483a0
Fixed video port's format change race (#3398) 2023-02-27 09:52:24 +08:00
jimying a27867898e
Misuse PJ_DECL in some function define (#3402) 2023-02-23 19:37:03 +08:00
郑澍禾 15dc790931
Fixed incorrect buffer count (#3403) 2023-02-23 19:36:40 +08:00
Nanang Izzuddin b0a90b1ab2
Allow dialog establishment when remote does not provide To tag (#3394) 2023-02-23 12:26:54 +07:00
sauwming 37862667bf
Use better initial values for pool initialization (#3396) 2023-02-23 12:47:08 +08:00
sauwming 3203025dcf
Add Android audio driver names (#3399) 2023-02-23 11:48:01 +08:00