summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzuul <zuul@gerrit.asterisk.org>2016-04-29 15:08:33 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-04-29 15:08:33 -0500
commit69ced86c6c1847e5c4b683e35ccd407f3eff594a (patch)
tree8351645c79f88cfad83f2ae5e72629b70e6c1f93
parentd65023b5a59e52edf49e77c15f331984736be056 (diff)
parent719ece5659e166df7006d2fd3afdb83235022052 (diff)
Merge "pjproject_bundled: Disable PJSIP_UNESCAPE_IN_PLACE" into 13
-rw-r--r--third-party/pjproject/patches/config_site.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/third-party/pjproject/patches/config_site.h b/third-party/pjproject/patches/config_site.h
index 840d8b279..8e854b723 100644
--- a/third-party/pjproject/patches/config_site.h
+++ b/third-party/pjproject/patches/config_site.h
@@ -28,7 +28,11 @@
#define PJSIP_SAFE_MODULE 0
#define PJ_HAS_STRICMP_ALNUM 0
#define PJ_HASH_USE_OWN_TOLOWER 1
-#define PJSIP_UNESCAPE_IN_PLACE 1
+/*
+ It is imperative that PJSIP_UNESCAPE_IN_PLACE remain 0 or undefined.
+ Enabling it will result in SEGFAULTS when URIs containing escape sequences are encountered.
+*/
+#undef PJSIP_UNESCAPE_IN_PLACE
#define PJSIP_MAX_PKT_LEN 6000
#undef PJ_TODO