FPII-2507: Remote code execution vulnerability in Expat CVE-2016-0718 A-28698301

Invalid UTF-16 tests could cause the Expat to read past the end of the buffer.

The fix is designed to make sure that there are enough bytes to read a whole UTF-16 character
and to fix the range checks to fail in the event of a second overflow bug.

Change-Id: Ibb83219938c62aa4f08b1e44e653d7b50b6d3549
4 files changed