Skip to content

Commit 5704eca

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe() set version for release
2 parents 03c7749 + 087cb7b commit 5704eca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mbstring/oniguruma/src/regext.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
#include "regint.h"
3131

32+
#if 0
3233
static void
3334
conv_ext0be32(const UChar* s, const UChar* end, UChar* conv)
3435
{
@@ -158,6 +159,7 @@ conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* e
158159

159160
return ONIGERR_NOT_SUPPORTED_ENCODING_COMBINATION;
160161
}
162+
#endif
161163

162164
extern int
163165
onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end,

0 commit comments

Comments
 (0)