Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Dan Minor 111aed14cd Bug 1535766 - Handle unaligned buffers in WebrtcGmpVideoCodec::Encoded; r=bwc
This uses the Endian routines to ensure that reads will match the endianess
of the current machine, which is the expected behaviour of the openh264
plugin. The calls to readUint16 and readUint32 memcpy to a properly aligned
buffer avoiding any problems with alignment. The memcpy adds some overhead
but it seems negligible compared to the amount of work done to packetize and
send the encoded data.

These changes were tested by adding code to create an unaligned buffer and
memcopying the received buffer into it.

This also adds a null check for the received buffer as we have seen a small
volume of null pointer crashes.

Differential Revision: https://phabricator.services.mozilla.com/D24030

--HG--
extra : moz-landing-system : lando
2019-03-19 17:15:39 +00:00
.cargo Backed out 2 changesets (bug 1529117) for build bustage 2019-02-27 13:27:50 +02:00
.vscode Bug 1514820 - Recommend a VSCode extension for IDL language highlighting r=jya 2018-12-18 19:43:33 +00:00
accessible Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
browser Bug 1534447 - Add application menu item to show Logins & Passwords. r=Gijs 2019-03-19 16:46:44 +00:00
build no bug - fix spelling of 'mozila' tree-wide r=me 2019-03-18 15:55:18 -07:00
caps Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt 2019-03-15 12:20:52 +00:00
chrome Bug 1532253 - Add NS_NewURIOnAnyThread r=baku 2019-03-19 15:11:31 +00:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-03-18 11:01:13 +00:00
db Bug 1530749 - Upgrade to SQLite 3.27.2. r=mak 2019-02-26 23:21:05 +00:00
devtools Backed out changeset b9c222097ae1 (bug 1522893) for devtools failures at devtools/client/storage/test/browser_storage_delete.js on a CLOSED TREE 2019-03-19 19:06:34 +02:00
docshell Bug 1535353 - update Core :: DOM: * bugzilla product and component meta data in moz.build files after reorganization in bug 1533440: replace 'Core :: Keyboard: Navigation'. r=me DONTBUILD 2019-03-18 00:39:30 +01:00
dom Backed out changeset bdefd9c7fc99 (bug 1534343) for mochitest failures at netwerk/cookie/test/mochitest/test_xmlDocument.html on Android on a CLOSED TREE 2019-03-19 17:50:08 +02:00
editor Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato 2019-03-18 01:52:36 +00:00
embedding Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
extensions Bug 1533293 - part 3: Make editor and ContentEventHandler not use Selection::Extend() due to too slow r=m_kato 2019-03-18 01:52:36 +00:00
gfx Bug 1469897 - Add a complex pointer-events hit-testing test. r=botond 2019-03-18 23:05:59 +00:00
gradle/wrapper
hal Bug 1523969 part 9 - Move method definition inline comments to new line in 'hal/'. r=gsvelto 2019-02-25 16:07:35 -06:00
image Bug 1530774 - Part 3. Remove decoder support for producing paletted frames. r=tnikkel 2019-03-18 07:30:34 -04:00
intl Bug 1532712 - Fix tests to await for gotoPref. r=gijs 2019-03-13 19:43:50 +00:00
ipc Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
js Bug 1536266, remove unused XPCVariant::mCCGeneration, r=mbrodesser 2019-03-19 14:52:35 +00:00
layout Bug 1524242 - Capture TabParent of out-of-process iframe when creating TextComposition. r=masayuki 2019-03-19 13:37:20 +00:00
media Bug 1535766 - Handle unaligned buffers in WebrtcGmpVideoCodec::Encoded; r=bwc 2019-03-19 17:15:39 +00:00
memory Backed out changeset 46f6705f9c0c (bug 1533240) for xpcshell failures at /test/test_dmd.js on a CLOSED TREE. 2019-03-14 07:03:38 +02:00
mfbt Bug 1532253 - Add NS_NewURIOnAnyThread r=baku 2019-03-19 15:11:31 +00:00
mobile Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp 2019-03-19 10:10:52 +00:00
modules Bug 1536220 - Enable IonMonkey on ARM64 in-browser. r=nbp 2019-03-19 15:26:43 +00:00
mozglue Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
netwerk Bug 1536504 - Update outdated comment about _blank.html r=mixedpuppy 2019-03-19 16:51:50 +00:00
nsprpub Bug 1526010, NSPR 4.21 RTM, r=me 2019-03-07 11:16:36 +01:00
other-licenses Bug 1523118 atk: Implement scrollsubstringto ATK API. r=surkov 2019-01-26 20:38:53 +01:00
parser Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
python Bug 1535948 - Fix the indentation: the code wasn't executed r=mshal 2019-03-19 16:02:05 +00:00
remote bug 1534827: remote: fix constants in transitionToLoadFlag; r=yulia 2019-03-13 14:35:57 +00:00
security Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
services Merge inbound to mozilla-central. a=merge 2019-03-18 23:38:05 +02:00
servo Bug 1425837 - Part 6: Add individual transform properties into compositor animation list. r=hiro 2019-03-18 18:05:00 +00:00
startupcache Backed out 3 changesets (bug 1353013) for a11y failures in accessible/tests/mochitest/relations/test_tabbrowser.xul CLOSED TREE 2019-03-18 18:21:16 +02:00
storage Bug 1523969 part 22 - Move method definition inline comments to new line in 'storage/'. r=mak 2019-02-25 16:12:31 -06:00
taskcluster Merge inbound to mozilla-central. a=merge 2019-03-18 23:38:05 +02:00
testing Backed out changeset 53bd5240052b (bug 1424287) for mozabase failures at testing/mozbase/mozlog/tests/test_formatters.py 2019-03-19 18:46:09 +02:00
third_party bug 1529278: mozrunner: vendor plist crate; r=ato 2019-03-15 16:22:38 +00:00
toolkit Bug 1526522 - Provide visual effects on password field autocomplete. r=MattN 2019-03-19 16:57:18 +00:00
tools Bug 1514770 - hooks_clang_format for git: Run clang-format on the changed files r=sheehan 2019-03-18 19:51:59 +00:00
uriloader Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi 2019-03-14 17:47:59 +00:00
view Bug 1533617 part 1. Improve MOZ_CAN_RUN_SCRIPT annotations around synth mouse events. r=emilio 2019-03-11 14:58:04 +00:00
widget Bug 1532850 - Implement the backend for prefers-color-scheme on Android. r=geckoview-reviewers,snorp 2019-03-19 10:10:52 +00:00
xpcom Bug 1535361 - Let stream transport service idle with 5 threads instead of only one to not create/kill threads in quick bursts; add option to thread pool to shorten the idle timeout progressively with number of idle thread to save memory, r=dragana 2019-03-19 14:35:12 +00:00
xpfe/appshell Bug 1522848 - Add Lock Aspect Ratio feature. r=mconley,jmathies. 2019-03-18 20:07:31 +00:00
.arcconfig
.clang-format Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
.clang-format-ignore Bug 1528492 - Add cbor-cpp to the thirdparty list r=jcj 2019-02-17 01:03:40 +00:00
.cron.yml Bug 1535057: Always re-fetch chromium in cron; r=aki 2019-03-13 20:05:24 +00:00
.eslintignore Bug 1532941 - Enable ESLint for uriloader (manual changes). r=Standard8,qdot 2019-03-14 13:33:48 +00:00
.eslintrc.js Bug 1515942 - Enable ESLint for gfx/ (manual fixes). r=kats 2018-12-27 09:45:01 +00:00
.flake8 Bug 1523835 - Added python/mozbuild/mozpack to the flake8 linter and solved the errors, r=ahal 2019-03-01 15:36:45 -05:00
.gdbinit
.gdbinit_python
.git-blame-ignore-revs Merge mozilla-inbound to mozilla-central. a=merge 2019-01-22 05:56:10 +02:00
.gitignore Bug 1521864 - It should be possible to open the debugger in a tab. r=davidwalsh 2019-02-21 14:56:47 +00:00
.hg-annotate-ignore-revs Bug 1508324 - Generate list of past changesets to be skipped for blame. r=me NPOTB DONTBUILD 2018-12-27 18:08:25 -02:00
.hg-format-source
.hgignore Bug 1525638 - Let hg ignore the build directories of WebRender standalone builds. r=ted 2019-02-11 13:37:44 +00:00
.hgtags No bug - Tagging mozilla-central 9421b477d67cfc4c9e03350cd554a9e6acc7f435 with FIREFOX_NIGHTLY_67_END a=release DONTBUILD CLOSED TREE 2019-03-18 10:56:58 +00:00
.lldbinit
.mailmap
.taskcluster.yml Bug 1534283 - add a 'tasks_for' property; r=tomprince 2019-03-14 20:01:32 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1522135 - Make .ycm_extra_conf.py work with python3. r=jgraham 2019-01-24 13:51:28 +01:00
aclocal.m4 Bug 1519603 - Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander 2019-01-14 18:37:06 +00:00
AUTHORS
build.gradle Bug 1535013: [geckoview] Add default impls to all interfaces. r=snorp 2019-03-14 16:48:57 +00:00
Cargo.lock bug 1529278: mozrunner: support macOS application bundle paths; r=ato 2019-03-15 16:22:37 +00:00
Cargo.toml Bug 1505343 - Part 1: Rename binsource => binast. r=Yoric 2019-03-13 04:29:44 +00:00
client.mk
client.py
CLOBBER Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2019-03-18 11:01:13 +00:00
configure.in
configure.py Bug 1528241 - Add a trace mode to python configure that logs internal values. r=chmanchester 2019-02-20 07:46:22 +09:00
GNUmakefile
gradle.properties Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander 2019-02-14 18:21:13 +00:00
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1535501 - Allow to get full crashreporter symbols on artifact builds. r=mshal 2019-03-15 21:56:14 +00:00
moz.build Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers 2019-01-10 01:34:49 +00:00
moz.configure Bug 1535501 - Allow to get full crashreporter symbols on artifact builds. r=mshal 2019-03-15 21:56:14 +00:00
mozilla-config.h.in
old-configure.in Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
package-lock.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
package.json Bug 1517707. Update ESLint related modules to latest versions. r=mossop 2019-01-04 16:44:49 +00:00
README.txt
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

Nightly development builds can be downloaded from:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly

Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy.