зеркало из https://github.com/mozilla/gecko-dev.git
c0cd7e11b5
Some Android ARM64 devices appear to have a bug where sendmsg sometimes returns 0xFFFFFFFF, which we're assuming is a -1 that was incorrectly truncated to 32-bit and then zero-extended. This patch detects that value (which should never legitimately be returned, because it's 16x the maximum message size) and replaces it with -1, with some additional assertions. The workaround is also enabled on x86_64 Android on debug builds only, so that the code has CI coverage. Differential Revision: https://phabricator.services.mozilla.com/D89845 |
||
---|---|---|
.. | ||
app | ||
chromium | ||
contentproc | ||
glue | ||
gtest | ||
ipdl | ||
mscom | ||
testshell | ||
moz.build | ||
pull-chromium.py |