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
Brian Birtles f1f7ad791c Bug 1375596 - Use valueToAdd in AddAccumulateOrValue, not valueToAddWrapper; r=hiro
AddOrAccumulate in nsSMILCSSValueType.cpp sets initializes |valueToAdd| to
either &valueToAddWrapper->mGeckoValue or nullptr. It then asks
FinalizeStyleAnimationValues to fill it in. FinalizeStyleAnimationValues will
return false if it could not fill it in, in which case AddOrAccumulate returns
early. As a result, after the early return we can be assured that |valueToAdd|
is not null. However, valueToAddWrapper may still be null.

Changeset 4d87f2bf4b10369af0dd83a2ef962a23299ee8d9 from bug 1358966 changed this
code such that we pass a member of valueToAddWrapper to StyleAnimationValue::Add
where we used to pass a member of valueToAdd. As a result, we can end up passing
0x20 (since valueToAddWrapper is nullptr) to Add() and then trying to read from
it.

This patch makes us pass, instead, |valueToAdd| since we know that is guaranteed
to be non-null here.

MozReview-Commit-ID: 1YwT1lBHnUe

--HG--
extra : rebase_source : abec6995af68de13eacaccf7eca7b2d121eaedf3
2017-07-18 16:24:28 +09:00
.cargo
.vscode Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps 2017-07-03 21:55:07 +03:00
accessible Backed out changeset 7ec72cbf67b6 (bug 1380471) for Windows 2012 static bustage. r=backout on a CLOSED TREE 2017-07-14 10:00:52 +02:00
addon-sdk Bug 1373061 - Fallback on en-US in sdk/l10n.get. r=Pike 2017-07-07 11:32:53 -07:00
browser Bug 1382031 Set access key properly on optional permission doorhanger r=andym 2017-07-18 16:54:07 -07:00
build Bug 1344244 - Part 1: Accept newer Android lint version. r=glandium 2017-06-29 11:43:22 -07:00
caps Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk. 2017-07-12 15:13:37 +10:00
chrome Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap 2017-07-10 14:24:54 -07:00
config Bug 1367940 - Pass the make jobserver file descriptors down to cargo. r=gps 2017-07-13 20:07:49 +09:00
db Bug 1371364 - Upgrade to SQLite 3.19.3. r=mak 2017-06-08 15:23:34 -04:00
devtools Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza 2017-07-10 15:01:35 -04:00
docshell Bug 1379762 part 2. Use a more reliable test to figure out when we can skip firing onload in nsDocumentViewer::LoadComplete. r=smaug 2017-07-17 23:21:41 -04:00
dom Bug 1375596 - Use valueToAdd in AddAccumulateOrValue, not valueToAddWrapper; r=hiro 2017-07-18 16:24:28 +09:00
editor Bug 1380717 - Updates more tests within editor/ to comply with new data: URI inheritance model. r=masayuki 2017-07-14 12:14:23 +02:00
embedding
extensions Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
gfx Bug 1375816 - Part 4: VRController displayId attribute testcase; r=kip 2017-07-14 17:08:15 +08:00
gradle/wrapper
hal Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
image Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
intl Bug 1380916 - Introduce OSPreferences::GetRegionalPrefsLocales. r=jfkthame 2017-07-13 10:40:40 -07:00
ipc Backed out changeset cb1548354e0c (bug 1352559, part 3) for causing *many* crashes in Nightly. r=backout 2017-07-17 09:41:29 +10:00
js Bug 1381919 - Remove most of the xpcIJSModuleLoader interface. r=kmag 2017-07-17 17:11:06 -07:00
layout Bug 1381091 - Don't restart the reftest suite if it finishes running all the tests. r=ahal 2017-07-18 13:10:29 -04:00
media Bug 1379190: P3. Remove omx-plugin 3rd party libs. r=cpearce 2017-07-13 13:04:05 +02:00
memory merge mozilla-inbound to mozilla-central a=merge 2017-07-11 12:51:59 +02:00
mfbt Bug 1379254 - Add a @note to the documentation of MOZ_CRASH_UNSAFE_* to make clear data collection risk and requirements, r=erahm 2017-07-07 14:44:26 -04:00
mobile Bug 1381149 - Link Leanplum Messages to wiki. r=liuche 2017-07-17 11:44:54 +08:00
modules Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
mozglue Bug 1374556 - use Android-like signal handlers instead of SIG_DFL. r=glandium 2017-07-10 14:44:50 +08:00
netwerk Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza 2017-07-10 15:01:35 -04:00
nsprpub Bug 1372579, uplift NSPR_4_16_BETA2, r=me 2017-07-14 17:23:45 +02:00
other-licenses Bug 1375472 - Use an optimized build of the 7-zip SFX stub. r=rstrong 2017-07-05 10:17:00 -07:00
parser Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
probes
python Bug 1381802 - [mach] Allow subcommands to use the 'parser' argument, r=gps 2017-07-18 08:53:13 -04:00
rdf Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
security Bug 1376653 - Fix handling of architecture differences for getdents. r=gcp 2017-07-11 17:03:06 -06:00
services Bug 1380835 - Don't check queries with excludeQueries for cycles in the bookmark validator. r=tcsc 2017-07-13 19:52:57 -07:00
servo servo: Merge #17780 - Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02) (from servo:cargoup); r=nox,SimonSapin 2017-07-18 15:57:07 -07:00
startupcache Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
storage Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
taskcluster Bug 1355118 - Remove OS X static analysis builds. r=gps 2017-07-19 07:05:02 +09:00
testing Bug 1355118 - Remove OS X static analysis builds. r=gps 2017-07-19 07:05:02 +09:00
third_party No bug - Revendor rust dependencies 2017-07-14 10:05:27 +00:00
toolkit Bug 772589 - Implement the secureConnectionStart property for the PerformanceTiming interface r=bkelly,dragana,francois,Honza 2017-07-10 15:01:35 -04:00
tools Bug 1380770 - Add more info to GCMinor marker JSON, r=jonco 2017-07-13 17:36:46 -07:00
uriloader Bug 1380227 - Avoid many UTF16toUTF8 and UTF8toUTF16 conversions in nsStringBundle. r=emk. 2017-07-12 15:13:37 +10:00
view Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
widget Merge inbound to central, a=merge 2017-07-14 17:14:43 -07:00
xpcom Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
xpfe Bug 1378147. Hold strong refs to elements when calling various functions that can run script. r=mystor 2017-07-13 23:46:59 -04:00
.clang-format Backed out changeset b14cbbf5256a (bug 1378250) on request from sylvestre 2017-07-05 16:55:27 +02:00
.clang-format-ignore Bug 1376488 - Remove some old paths from ThirdPartyPaths.txt. r=sylvestre, r=andi 2017-06-27 10:49:00 -04:00
.clang-tidy
.cron.yml Bug 1371038: Add configs for doing DMD builds r=Callek 2017-06-22 12:49:03 -04:00
.eslintignore Bug 1352324 - (Part 4) Fix eslint errors of PhoneNumber utility. r=MattN 2017-06-28 16:01:25 -07:00
.eslintrc.js
.flake8
.gdbinit
.gdbinit_python Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.gitignore Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.hgignore Bug 1380801 - Add eslint-plugin-mozilla's node_modules to the ignore path. r=ahal 2017-07-14 11:05:33 +01:00
.hgtags No bug - Tagging mozilla-central f9605772a0c9098ed1bcaa98089b2c944ed69e9b with FIREFOX_BETA_55_BASE a=release DONTBUILD CLOSED TREE 2017-06-12 12:50:30 +01:00
.inferconfig
.lldbinit Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.taskcluster.yml Bug 1380391 - Index decision tasks under pushlog_id r=dustin 2017-07-12 10:56:02 -07:00
.ycm_extra_conf.py
aclocal.m4
Android.mk
AUTHORS
build.gradle Bug 1352602 - Part 2: Use build system SDK versions in Gradle configurations. r=maliu 2017-06-21 10:52:30 -07:00
client.mk
client.py
CLOBBER Backed out changeset f8a62747c51c (bug 1338651) for valgrind issues a=backout 2017-06-30 14:45:26 -07:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1380964 - Get and upload useful sccache logs. r=gps 2017-07-14 09:46:38 +09:00
moz.build bug 1370176, generic configuration for l10n, r=flod,gps 2017-06-05 10:28:33 +02:00
moz.configure Bug 1370209 - Allow setting --disable-rust-debug when --enable-debug is used. r=froydnj 2017-07-10 10:46:31 -04:00
mozilla-config.h.in Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
npm-shrinkwrap.json Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal 2017-07-14 12:21:54 +01:00
old-configure.in Bug 1344244 - Part 1: Accept newer Android lint version. r=glandium 2017-06-29 11:43:22 -07:00
package.json Bug 1380956 - List only the directly required dependencies for ESLint in the top-level package.json. r=ahal 2017-07-14 12:21:54 +01:00
README.txt
settings.gradle Backed out 2 changesets (bug 1355625) for causing bustage a=backout 2017-06-22 12:05:56 -07:00
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.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://nightly.mozilla.org/