From 95c4564f939c916538579ef63602a3cd31941c51 Mon Sep 17 00:00:00 2001 From: libnex Date: Mon, 29 May 2017 13:13:52 +0000 Subject: Fixed bug #73473: Stack Buffer Overflow in msgfmt_parse_message --- ext/intl/msgformat/msgformat_parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/intl/msgformat/msgformat_parse.c') 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); -- cgit v1.2.1