gecko-dev/third_party
Henri Sivonen 2092982126 Bug 1405615 - encoding_rs 0.7.1: Correctly encode U+DC00 followed by another low surrogate from UTF-16. r=emk.
`wrapping_sub()`-based high surrogate check was off by one due to
error in copy and paste when defining the constant to compare against.
That is, the subtraction that defines the constant was completely wrong
but the result of the subtraction was only off by one, which is why the
bug wasn't discovered immediately. This lead to the first low surrogate
(U+DC00), and only the first low surrogate, getting accepted as a high
surrogate.

Discovered using cargo-fuzz.

MozReview-Commit-ID: K3Ptws31WuV

--HG--
extra : rebase_source : ef4c38214bba3bf72133d890fc1cce847024c81a
2017-10-04 13:11:27 +03:00
..
aom Bug 1380118 - aom: Fix win32 debug build. r=kinetik 2017-08-23 13:06:10 -05:00
python bug 1402401, don't break builds on broken locales, r=stas 2017-09-24 14:09:08 +02:00
rust Bug 1405615 - encoding_rs 0.7.1: Correctly encode U+DC00 followed by another low surrogate from UTF-16. r=emk. 2017-10-04 13:11:27 +03:00
speedometer Bug 1405371 - Part 2: Start the tests on load; r=ted 2017-10-06 15:52:37 -04:00
moz.build Bug 1328351 - annotate rest of testing and toolkit. r=gps 2017-09-13 05:19:00 -04:00