Browse Source

Merge branch 'PHP-7.0' into PHP-7.1

pull/2252/merge
Nikita Popov 9 years ago
parent
commit
bfedff58e3
  1. 3
      NEWS
  2. 1
      ext/intl/msgformat/msgformat_parse.c

3
NEWS

@ -11,6 +11,9 @@ PHP NEWS
. Fixed bug #74639 (implement clone for DatePeriod and DateInterval).
(andrewnester)
- Intl:
. Fixed bug #73473 (Stack Buffer Overflow in msgfmt_parse_message). (libnex)
- Mbstring:
. Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227,
CVE-2017-9228, CVE-2017-9229) (Remi, Mamoru TASAKA)

1
ext/intl/msgformat/msgformat_parse.c

@ -110,6 +110,7 @@ PHP_FUNCTION( msgfmt_parse_message )
RETURN_FALSE;
}
INTL_CHECK_LOCALE_LEN(slocale_len);
memset(mfo, 0, sizeof(*mfo));
msgformat_data_init(&mfo->mf_data);

Loading…
Cancel
Save