Santiago De la Cruz
427a2b3ab8
Add some missing unlocks ( #3893 )
2024-03-26 11:52:13 +08:00
sauwming
033e4d7ae3
Fixed printf format warnings ( #3813 )
2023-12-27 10:32:32 +08:00
silentindark
c224f26420
Fix warnings ( #3778 )
2023-11-16 15:30:03 +08:00
jimying
5188d056a7
base64: support encode/decode with URL and Filename Safe Alphabet ( #3748 )
2023-11-16 13:52:06 +07:00
sauwming
528f90adfb
Check for buffer EOF in scanner ( #3753 )
2023-11-03 11:40:51 +08:00
Nanang Izzuddin
eff4826803
Docs: more fixes on sample/source links ( #3675 )
2023-09-06 09:56:26 +07:00
jimying
b4921bfcd9
Add close-on-exec flag ( #3553 )
2023-05-16 11:59:37 +08:00
Andreas Wehrmann
2b2bd871f7
don't assert when attempting to set PJ_DNS_RESOLVER_MAX_NS nameservers ( #3549 )
2023-05-05 16:05:36 +08:00
sauwming
27d522d91d
Fixed DNS SRV response processing when SRV entries contain the same host ( #3531 )
2023-05-01 09:02:05 +08:00
sauwming
def3e179c3
Fixed max hostname default value and usage ( #3478 )
2023-04-06 14:27:12 +08:00
jimying
a4c9dc0c9b
Fix scan-build reports ( #3471 )
2023-04-06 10:26:10 +08: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
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
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
bennylp
398fabd77f
Fixed printf style format warnings
2023-03-22 08:45:23 +07:00
sauwming
86b2ed38be
Fixed printf format warnings (part 1)
2023-03-20 18:29:25 +08:00
bennylp
319bbab087
Fix coverity scan warnings
2023-03-15 17:15:00 +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
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
sauwming
456b38700c
Fixed reports classified as high impact
2023-03-03 10:53:22 +08:00
sauwming
ecddafbb1d
Fixed warnings (3)
2023-02-28 12:50:51 +08:00
jimying
a27867898e
Misuse PJ_DECL in some function define ( #3402 )
2023-02-23 19:37:03 +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
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
Riza Sulistyo
5ac9104514
Expand tab to spaces and remove $Id$ ( #3292 )
2022-11-22 16:26:54 +07:00
sauwming
ae580f351f
Misc (re #3087 ): Suppressed build warning on Mac
2022-11-01 11:01:45 +08:00
orbea
c804b31f85
Fix build fail on alpine linux (with musl libc) : no execinfo.h ( #3263 )
...
The execinfo.h header is GNU specific and is not available with musl.
Gentoo Issue: https://bugs.gentoo.org/867343
Co-authored-by: jimying <yingqw.js@gmail.com>
2022-10-17 13:32:23 +08:00
sauwming
c4d34984ec
Merge pull request from GHSA-fq45-m3f7-3mhj
...
* Initial patch
* Use 'pj_scan_is_eof(scanner)'
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Use 'pj_scan_is_eof(scanner)'
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Use 'pj_scan_is_eof(scanner)'
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Use `!pj_scan_is_eof` instead of manually checking `scanner->curptr < scanner->end`
Co-authored-by: Maksim Mukosey <mmukosey@gmail.com>
* Update pjlib-util/src/pjlib-util/scanner.c
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Update pjlib-util/src/pjlib-util/scanner.c
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Update pjlib-util/src/pjlib-util/scanner.c
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
* Revert '>=' back to '>' in pj_scan_stricmp_alnum()
* Fix error compiles.
Co-authored-by: Nanang Izzuddin <nanang@teluu.com>
Co-authored-by: Aaron Lichtman <aaronlichtman@gmail.com>
Co-authored-by: Maksim Mukosey <mmukosey@gmail.com>
2022-10-03 08:07:22 +08:00
jimying
e2b4694119
Fix httpclient type convert error ( #3231 )
2022-09-19 13:18:16 +07:00
Benny Prijono
c03ab41ed5
Documentation fixes for docs.pjsip.org v2.0 project ( #3202 )
...
* Improve robustness of sample apps. Fixing crash in aviplay
* Changes in documentation
* Add first pjsua2 hello world sample (from PJSUA2 guide)
* Fix doxygen documentation for docs.pjsip.org v2
* Add make clean-doc target
* Replace Trac ticket URL with GitHub issues URL
* Remove pjsip-book because the correct one is in pjproject_docs
2022-08-09 06:16:16 +07:00
sauwming
8861441ec8
Move UPnP to PJNATH ( #3195 )
2022-07-29 17:05:28 +08:00
sauwming
82247cb8c0
Add UPnP support for SIP UDP and media UDP transports ( #3184 )
2022-07-21 11:25:05 +08:00
sauwming
450baca94f
Merge pull request from GHSA-26j7-ww69-c4qj
2022-06-07 12:00:13 +08:00
Riza Sulistyo
9fae8f43ac
Merge pull request from GHSA-p6g5-v97c-w5q4
...
* Prevent heap buffer overflow when parsing DNS packets
* Make sure packet parsing doesn't advance beyond max/end
* Update checks
* Remove check
Co-authored-by: sauwming <ming@teluu.com>
2022-04-06 11:49:47 +08:00
Riza Sulistyo
856f87c2e9
Merge pull request from GHSA-5x45-qp78-g4p4
...
* Prevent infinite loop in scanning xml content
* Simplify scanning method
* Optimization
2022-03-29 14:59:03 +08:00
George Joseph
668a828631
Add additional unit test options ( #2961 )
2022-02-11 12:28:03 +08:00
sauwming
077b465c33
Merge pull request from GHSA-7fw8-54cv-r7pm
2022-01-26 13:28:57 +08:00
sauwming
88b8981817
End CLI telnet session upon data read error ( #2939 )
2022-01-18 13:35:31 +08:00
sauwming
fbfad9fd22
End CLI session upon connection closure ( #2917 )
2021-12-15 17:52:28 +08:00
Riza Sulistyo
6ca06f63ec
Fix some doc warning ( #2879 )
2021-11-10 09:57:40 +07:00
Nanang Izzuddin
11ec771c90
Replace pj_ansi_strchr() with pj_memchr() in pj_scan_skip_line(). ( #2839 )
2021-10-11 10:35:53 +07:00
Riza Sulistyo
661a8cef67
Add support to windows on ARM build ( #2807 )
...
* Add support to ARM64 configuration for win32 build
* Add changes notes to webrtc and webrtc_aec3 third party sources
* Remove reference to libwebrtc_aec3 from libpjproject. Add reference it manually if libwebrtc_aec3 is needed.
* Fix build error on Release configuration.
2021-08-30 10:39:48 +07:00
Nanang Izzuddin
22b47a3673
Fix crash in starting CLI telnet when port is in already use ( #2607 )
2020-12-15 12:19:52 +07:00
Nanang Izzuddin
d65cacddd3
Implement trickle ICE ( #2588 )
...
Squash & merge trickle-ice dev branch to master.
2020-12-11 09:40:57 +07:00