summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_parse.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2017-06-03 00:05:35 +0200
committerNikita Popov <nikita.ppv@gmail.com>2017-06-03 00:05:52 +0200
commitbfedff58e3d59bc4994c74b6af6b4bbe1f82d9ea (patch)
tree1dcf67f87bec5b6996872a26fc960ea29e9d5177 /ext/intl/msgformat/msgformat_parse.c
parentc742abb3ce3789bd2ff73d7f48bba04a5a2f585e (diff)
parent95c4564f939c916538579ef63602a3cd31941c51 (diff)
downloadphp-git-bfedff58e3d59bc4994c74b6af6b4bbe1f82d9ea.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
Diffstat (limited to 'ext/intl/msgformat/msgformat_parse.c')
-rw-r--r--ext/intl/msgformat/msgformat_parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/intl/msgformat/msgformat_parse.c b/ext/intl/msgformat/msgformat_parse.c
index 349633912b..8562a76e92 100644
--- a/ext/intl/msgformat/msgformat_parse.c
+++ b/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);