Opened 10 years ago

Closed 9 years ago

#1843 closed defect (fixed)

Miscellaneous fixes

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.4.5
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Miscellaneous updates and fixes.

Change History (39)

comment:1 Changed 10 years ago by nanang

In r5069: Fixed dependency lib order in pjsip-test Makefile. This might cause linking error when building with -DPJ_POOL_DEBUG=1 (thanks Denis Poltorak for the report).

comment:2 Changed 10 years ago by ming

In 5073:

Re #1843 (thanks to Alexander Traud for the patch):
Defines like OPENSSL_NO_SSL3_METHOD and OPENSSL_NO_SSL2 are set in
"include/openssl/opensslconf.h". There is no need to query the OpenSSL
libraries. If the installed library does not match the installed headers,
the system is misconfigured.

This will undo r4892

comment:3 Changed 10 years ago by ming

In 5074:

Re #1843:
Support compilation with OpenSSL without OpenSSLv3 support

Thanks to Alexander Traud for the patch.

comment:4 Changed 10 years ago by ming

In 5075:

Re #1843: Fixed unused variable warning when using OpenCore? AMR (thanks to Alexander Traud for the report)

comment:5 Changed 10 years ago by ming

In 5079:

Re #1843: Add support if app uses external libSRTP 1.5.x or above (thanks to Alexander Traud for the patch)

comment:6 Changed 10 years ago by riza

In 5080:

Re #1843: Enable OpenSSL to use legacy certificates(1024 bit root certificate) send by server.
This is supported on OpenSSL 1.0.2. Thanks to Alexander Traud for the patch.

comment:7 Changed 10 years ago by riza

In 5081:

Re #1843: Related to r4924, allow INVITE request with unknown body in
pjsip_inv_verify_request3.

comment:8 Changed 10 years ago by nanang

In 5083:

Misc (re #1843): Fixed compile warnings on pjlib SSL socket with BoringSSL backend (thanks Alexander Traud for the patch).

comment:9 Changed 10 years ago by nanang

In 5084:

Misc (re #1843): Updated few configure script output messages for better consistency and clarity (thanks Alexander Traud for the feedback).

comment:10 Changed 10 years ago by nanang

In 5085:

Misc (re #1843): Best effort fix for compile warning of pointer-integer cast in SILK codec wrapper (thanks Alexander Traud for the report).

comment:11 Changed 10 years ago by nanang

In 5086:

Misc (re #1843): Fixed warning messages in 'make install' command due to multiple source file specified to 'cp' (thanks Alexander Traud for the report).

comment:12 Changed 10 years ago by ming

In 5089:

Re #1843 (misc): Fix pjsip_tls_setting_copy to copy the ca_list_path field as well (thanks to Michele Cicciotti for the patch)

comment:13 Changed 10 years ago by ming

In 5091:

Re #1843 (misc): related to r4966, remove ldl and lz from OpenSSL dependencies since both libraries are actually optional for OpenSSL, and may be unavailable in some platforms, such as BB10

comment:14 Changed 10 years ago by ming

In 5092:

Re #1843 (misc): Fixed incorrect memcpy size in sock_common (thanks to Richard Mudgett for the patch and Joshua Colp for the report)

If an IPv6 UDP transport is configured with a link-local address, say fe80::21c:c0ff:fe4e:1a9e%eth0, which is an invalid format for an IPv6 address, it may cause crash. The invalid format causes pjproject to use an incorrect size parameter with memcpy().

comment:15 Changed 10 years ago by ming

In 5093:

Re #1843 (misc): Fixed target machine auto-detection for Windows 64 platform when using Visual Studio

comment:16 Changed 10 years ago by ming

In 5095:

Re #1843 (misc): Sample app streamutil: Set the receiving payload type as well, instead of only the outgoing pt

Thanks to Chris Cox for the suggestion.

comment:17 Changed 10 years ago by nanang

In 5100:

Misc (re #1843): Fixed missing SWIG director feature for class AudioMediaPlayer?.

comment:18 Changed 10 years ago by nanang

In 5101:

Misc (re #1843): Updated error message in pjmedia stream & video stream upon RTP receiving failure, also avoid printing the same message repeatedly of same subsequent failures.

comment:19 Changed 10 years ago by nanang

In 5105:

Misc (re #1843): Updated SIP transport TCP & TLS to get server local address info using getsockname() instead of using the listener address.

comment:20 Changed 10 years ago by riza

In 5106:

Misc (re #1843): Add index checking to some SDP attr operations. These operations use count parameter as index doesn't check the value which might lead to crash if the count param exceed PJMEDIA_MAX_SDP_ATTR.

comment:21 Changed 10 years ago by riza

In 5107:

Misc (re #1843): Fix the possibility of crash when parsing multipart message.

comment:22 Changed 10 years ago by nanang

In 5108:

Misc (re #1843): Revert r5039 due to reported compile error on gcc 4.1.2 (thanks Rami Annala for the report).

comment:23 Changed 10 years ago by nanang

In 5110:

Misc (re #1843): Updated docs of PJMEDIA_AUD_DEV_ROUTE_DEFAULT (default route of audio device).

comment:24 Changed 10 years ago by ming

In 5112:

Re #1843 (misc): Add libyuv_neon for other arm architectures as well (instead of just armv7)

comment:25 Changed 10 years ago by ming

In 5113:

Re #1843 (misc): Fixed warning: address of struct will always evaluate to 'true' [-Wpointer-bool-conversion]

comment:26 Changed 10 years ago by ming

In 5115:

Re #1843 (misc): Fixed potential memory corruption problem if DNS resolver receives a response with more than 8 A records.

Thank you to Oleg Grazhdan for the patch and Andrey Kovalenko for the report

comment:27 Changed 10 years ago by ming

In 5116:

Re #1843 (misc): Removed accidental inclusion of local library search paths.

comment:28 Changed 10 years ago by riza

In 5120:

Misc (re #1843): Fix doc in endpoint class regarding the call to libDestroy.

comment:29 Changed 10 years ago by riza

In 5121:

Misc (re #1843): Check malloc return value on libRegisterThread.

comment:30 Changed 9 years ago by riza

In 5122:

Misc (re #1843): Register fmt matching callbak for AMR-WB in opencore-amr implementation. Thanks to Alexander Traud for the initial patch.

comment:31 Changed 9 years ago by riza

In 5126:

Misc (re #1843): Modify configure-android to support x86_64 and mips64 target.

comment:32 Changed 9 years ago by nanang

In 5134:

Misc (re #1843): Fixed OpenH264 detection failure in configure script due to bad library order.

comment:33 Changed 9 years ago by nanang

In 5136:

Misc (re #1843): Fixed MSVC build error on samples app due to undefined symbol 'RAND_bytes'.

comment:34 Changed 9 years ago by nanang

In 5141:

Misc (re #1843): Fixed compile error in app samples on some compiler due to implicit conversion of 'void *' to 'pj_pool_t *'.

comment:35 Changed 9 years ago by ming

In 5153:

Re #1843 (misc): Fixed wrong calculation of timestamp in L16 codec (should be multiplied by samples per frame instead of frame size).

comment:36 Changed 9 years ago by nanang

In 5154:

Misc (re #1843): Fixed compile warnings of "command line option '-frtti' is valid for C++/ObjC++ but not for C" on "make depend" for Android targets.

comment:37 Changed 9 years ago by nanang

In 5157:

Misc (re #1843): Fixed compile warnings of unused variable.

comment:38 Changed 9 years ago by nanang

In 5158:

Misc (re #1843): Fixed GCC compile warnings of unused variables in third-party libs.

comment:39 Changed 9 years ago by riza

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.