Chromium Code Reviews
DescriptionTerminate on \0 in data passed to String::New()
Remove \0 chars from String::New fuzz-test data
If strings are made to terminate on null characters in the data provided
to String::New(), then the Traverse tests will fail because 0 is part of
the fuzz-testing data.
This change makes it so that they don't try to put null bytes in the
test data.
Failing test to demonstrate null-handling behavior
There are many cases where you have a bunch of bytes which are
null-padded or in some other way represent a null-terminated ASCII or
UTF-8 string.
Even if a number of bytes are provided, a null character should always
terminate the string.
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|
||||||||||||||||||||||||||||