Commit Graph

6343 Commits

Author SHA1 Message Date
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
jimying 497d05d99c
ffmpeg_codec: ffmpeg_codec_open() should use pjmedia_vid_codec_param_clone() copy codec param (#3384) 2023-02-22 13:07:03 +08:00
sauwming 433ddab27a
Fixed native iOS preview issue (#3350) 2023-02-22 13:04:26 +08:00
sauwming 5a80dd2e3d
Fixed buffer memory usage in video conference (#3395) 2023-02-22 13:03:50 +08:00
bennylp 74c07aa476 Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-02-21 18:25:09 +07:00
bennylp b97614d1bc Drop pj_ansi_safe_strncpy() in favor of safe pj_ansi_strncpy(), fix incorrect use of pj_ansi_safe_strncpy() 2023-02-21 18:25:04 +07:00
sauwming 6dc42dfcd4 Fixed more warnings 2023-02-21 15:06:23 +08:00
bennylp 6766bf5777 Fix strncpy warning for gcc and clang 2023-02-21 13:04:01 +07:00
sauwming 66c101f3d3
Add API to shutdown TURN session with the appropriate error status (#3392)
* Add pj_turn_session_shutdown2()

* Minor: fix indentation
2023-02-20 19:00:57 +08:00
jimying efd05c3ca2
make the timer more precise (#3391) 2023-02-20 16:58:50 +08:00
bennylp 4e03c60ce2 Merge branch 'coverity01' of https://github.com/pjsip/pjproject into coverity01 2023-02-20 14:41:39 +07:00
bennylp 8038b4e640 Fix error in upload syntax 2023-02-20 14:40:49 +07:00
sauwming 221673dc39 Fixed several warnings (combined) 2023-02-20 14:55:06 +08:00
sauwming 086d9d2206
Fixed ioq winnt build failure (#3358) 2023-02-20 12:09:22 +08:00
Riza Sulistyo 5a2d61cad7
FIx Android Mediacodec h264 SPS/PPS decoder config (#3360) 2023-02-20 12:08:00 +08:00
sauwming e99cb7bbb3
Formulate headers in new request upon receiving 3xx (#3386) 2023-02-20 12:07:23 +08:00
bennylp 5fe4bc1972 Fix usages of strncpy(), pj_ansi_strncpy(), and strncat() by replacing them with pj_ansi_safe_strncpy() and pj_ansi_safe_strcpycat() 2023-02-18 12:51:49 +07:00
bennylp 2315043b20 Fix gcc warnings (Ubuntu 22.04, ffmpeg 4.4.2, openssl 3) 2023-02-18 08:36:56 +07:00
bennylp f2f028f0ae Always rebuild the project to avoid submitting stale result 2023-02-17 00:57:34 +00:00