Prevent an OOB access in locale_accept_from_http
commitfea09425027cff00370967c3310a6a0bb151bdc0
authorChristopher Dykes <cdykes@fb.com>
Thu, 29 Sep 2016 23:05:24 +0000 (29 16:05 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Sat, 1 Oct 2016 03:25:42 +0000 (30 20:25 -0700)
tree9530568c63068dfbd2cc2c77b8893f21aac53b57
parent879f12b6b68f21e0971049903936124330233883
Prevent an OOB access in locale_accept_from_http

Summary: Validating user-data is hard :(

Reviewed By: aorenste

Differential Revision: D3798767

fbshipit-source-id: 847de1fe5135f15e5008bf7ac46bfc3b19f89e3f
hphp/runtime/ext/icu/ext_icu_locale.cpp