Skip to content

Commit bfedff5

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
2 parents c742abb + 95c4564 commit bfedff5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ PHP NEWS
1111
. Fixed bug #74639 (implement clone for DatePeriod and DateInterval).
1212
(andrewnester)
1313

14+
- Intl:
15+
. Fixed bug #73473 (Stack Buffer Overflow in msgfmt_parse_message). (libnex)
16+
1417
- Mbstring:
1518
. Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227,
1619
CVE-2017-9228, CVE-2017-9229) (Remi, Mamoru TASAKA)

ext/intl/msgformat/msgformat_parse.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ PHP_FUNCTION( msgfmt_parse_message )
110110
RETURN_FALSE;
111111
}
112112

113+
INTL_CHECK_LOCALE_LEN(slocale_len);
113114
memset(mfo, 0, sizeof(*mfo));
114115
msgformat_data_init(&mfo->mf_data);
115116

0 commit comments

Comments
 (0)