diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-08-08 18:02:43 -0400 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-08-09 10:37:16 -0400 |
commit | 1a6c1d092df6431c86b74a059214ab76942b8b33 (patch) | |
tree | 8a2d418467e7bcf2985243f90aa1900441f70c56 /conformance | |
parent | 237f321e338b50503eb38728afa6ad29bea6076a (diff) | |
download | protobuf-1a6c1d092df6431c86b74a059214ab76942b8b33.tar.gz protobuf-1a6c1d092df6431c86b74a059214ab76942b8b33.tar.bz2 protobuf-1a6c1d092df6431c86b74a059214ab76942b8b33.zip |
Never use strlen on utf8 runs so null characters work.
Fixes https://github.com/google/protobuf/issues/1933
Add a new test that forces strings into two different implementations from the
NSString class cluster to help confirm we're exercising both paths by which
CodedOutputStream will extract data from an NSString.
Move the old +load test (that was flawed because the behavior really depends on
the type of string from the NSString class cluster); into a unittest that
targets the specific case we're adding a behavior confirmation on.
As a bonus, improve the TextFormat generation of string characters < 0x20.
Diffstat (limited to 'conformance')
0 files changed, 0 insertions, 0 deletions