commit | f51f1bd9d42d0dd55c120bfb83ed113b61e5c3ca | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Wed Nov 02 10:49:50 2011 -0700 |
committer | Marco Nelissen <marcone@google.com> | Thu Nov 03 13:12:16 2011 -0700 |
tree | d3030786fb7266ca03c3c7ad21ab6126eb72886d | |
parent | c5ce130f658303299bf55091373951f7fd33ae36 [diff] |
Verify we actually have valid utf8 metadata Before calling NewStringUTF, check that the metadata value is actually valid utf-8, and replace the offending characters with "?" if it is not. b/5534491 Change-Id: I43de4307e739ae0b7d4177937ed33aa1dfb90d98