mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 04:58:00 +00:00
Bug 828782 - 0003. Use new function to handle malformed UTF-8 string. r=vchang
This commit is contained in:
parent
3bb80e66a1
commit
52c71ae1be
@ -59,7 +59,7 @@ self.onmessage = function(e) {
|
||||
else if (reply_len !== 4096)
|
||||
cbuf[reply_len] = 0;
|
||||
|
||||
reply = cbuf.readString();
|
||||
reply = cbuf.readStringReplaceMalformed();
|
||||
}
|
||||
|
||||
// Else if reply_len was 0, use the empty reply, set above.
|
||||
|
Loading…
x
Reference in New Issue
Block a user