mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
Merge "pjproject_bundled: Disable PJSIP_UNESCAPE_IN_PLACE" into 13
This commit is contained in:
6
third-party/pjproject/patches/config_site.h
vendored
6
third-party/pjproject/patches/config_site.h
vendored
@@ -28,7 +28,11 @@
|
|||||||
#define PJSIP_SAFE_MODULE 0
|
#define PJSIP_SAFE_MODULE 0
|
||||||
#define PJ_HAS_STRICMP_ALNUM 0
|
#define PJ_HAS_STRICMP_ALNUM 0
|
||||||
#define PJ_HASH_USE_OWN_TOLOWER 1
|
#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
|
#define PJSIP_MAX_PKT_LEN 6000
|
||||||
|
|
||||||
#undef PJ_TODO
|
#undef PJ_TODO
|
||||||
|
Reference in New Issue
Block a user