DescriptionLet the canonical name of invalid encoding be an empty string
Returning nullptr caused crash in fuzz testing when the call sites
attempts to create a string object out of it. Previously it was
returning an empty string(std::string()). This change makes it work
as it used to by changing the return type back to std::string.
BUG=678359
Review-Url: https://codereview.chromium.org/2619493002
Cr-Commit-Position: refs/heads/master@{#441904}
Committed: https://chromium.googlesource.com/chromium/src/+/8e9a8aabbde296324fa081995177dd5aac5622e4
Patch Set 1 #Patch Set 2 : std::string #
Messages
Total messages: 17 (11 generated)
|