Skip to content

Commit fce635e

Browse files
Merge pull request #104 from intermedia-net/bugfix/anikitin/APPS-24667-fix-ipv6-rtcpxr-crash
APPS-24667: Use pj comparison without length
2 parents 3437ca2 + 902734b commit fce635e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pjlib/include/pj/config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ PJ_BEGIN_DECL
15021502
* Extra suffix for the version (e.g. "-trunk"), or empty for
15031503
* web release version.
15041504
*/
1505-
#define PJ_VERSION_NUM_EXTRA "-18"
1505+
#define PJ_VERSION_NUM_EXTRA "-19"
15061506

15071507
/**
15081508
* PJLIB version number consists of three bytes with the following format:

pjnat64/src/pjnat64/pj-nat64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static void patch_sdp_attr(pj_pool_t *pool, pjmedia_sdp_media *media, pjmedia_sd
102102

103103
PJ_LOG(4, (THIS_FILE, "Process SDP attribute %.*s", attr->name.slen, attr->name.ptr));
104104

105-
if (strncmp(attr->name.ptr, rtcp_name.ptr, rtcp_name.slen) == 0) {
105+
if (pj_strcmp(&attr->name, &rtcp_name) == 0) {
106106
s2 = pjmedia_sdp_attr_get_rtcp(attr, &ra);
107107
if (s2 != PJ_SUCCESS) {
108108
PJ_LOG(1, (THIS_FILE, "Error: Patch SDP attribute 'rtcp'"));

version.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
export PJ_VERSION_MAJOR := 2
33
export PJ_VERSION_MINOR := 14
44
export PJ_VERSION_REV := 1
5-
export PJ_VERSION_SUFFIX := -18
5+
export PJ_VERSION_SUFFIX := -19
66

77
export PJ_VERSION := $(PJ_VERSION_MAJOR).$(PJ_VERSION_MINOR)
88

0 commit comments

Comments
 (0)