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
Перейти к файлу
Yannis Juglaret 6a8f812670 Bug 1733532 - Avoid using stack buffers during calls to Thread32Next. r=gstoll
Thread32Next relies on NtMapViewOfSection to map the snapshot that it works with.
We hook NtMapViewOfSection, so calls to Thread32Next reach our patched_NtMapViewOfSection.

With some third-party software, this results in a crash if we use stack buffers (see bug 1733532),
because for some reason the stack cookie check code is not mapped executable. If we can avoid using
stack buffers in that case, then the third-party DLL should get its result from NtMapViewOfSection
without error.

This change thus splits patched_NtMapViewOfSection so that we only use stack buffers when necessary,
i.e. when an executable mapping is asked. Hopefully this can fix bug 1733532.

Differential Revision: https://phabricator.services.mozilla.com/D169450
2023-02-24 15:43:51 +00:00
.cargo Bug 1817829 - Vendor wgpu changes. r=webgpu-reviewers,teoxoy 2023-02-21 22:36:52 +00:00
.vscode
accessible Bug 1818176: Support querying to IAccessibleImage. r=nlapre 2023-02-23 23:42:23 +00:00
browser Bug 1733532 - Avoid using stack buffers during calls to Thread32Next. r=gstoll 2023-02-24 15:43:51 +00:00
build Bug 1817900 - Update num_cpus to 1.15.0. r=emilio,supply-chain-reviewers 2023-02-23 01:17:30 +00:00
caps Backed out changeset 3cdcc72baa6e (bug 1776755) for causing failures at test_ext_contentscript_triggeringPrincipal.js. 2023-02-14 19:30:16 +02:00
chrome Bug 1805100 - Remove "else if" after interruptions of control flow. r=sylvestre 2022-12-13 09:12:55 +00:00
config Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-02-13 16:28:07 +00:00
devtools Bug 1704690 - [devtools] Allow overriding request content with a local file. r=valentin,devtools-backward-compat-reviewers,bomsy,necko-reviewers 2023-02-24 12:11:28 +00:00
docs Bug 1749473 - add autodoc dependencies r=firefox-source-docs-reviewers,sylvestre DONTBUILD 2023-02-23 12:16:22 +00:00
docshell Bug 1816898 - Fix docshell/test/unit/test_allowJavascript.js for thunderbird r=nika 2023-02-23 21:35:20 +00:00
dom Bug 1622677 - Make dom/bindings flake8 compliant. r=sylvestre 2023-02-24 13:53:21 +00:00
editor Bug 1817127 - Make `HTMLEditUtils::ContentIsInert` check `nsStyleUI::IsInert` instead of climbing up the tree r=emilio 2023-02-23 15:08:30 +00:00
extensions Bug 1810403: Allow `nsRange`s to be in multiple `Selection`s. r=masayuki 2023-02-21 12:25:28 +00:00
gfx Bug 1818637 - Backout Bug 1817709 r=gfx-reviewers,bradwerth 2023-02-24 01:41:42 +00:00
gradle/wrapper
hal Bug 1812938 - Part 1. GetWidgetScreen returns Screen instead of nsIScreen. r=emilio,geckoview-reviewers,owlish 2023-02-06 04:51:26 +00:00
image Bug 1815404 - Replace most uses of gfxContext::CreateOrNull with stack-allocated contexts. r=gfx-reviewers,lsalzman 2023-02-21 07:28:25 +00:00
intl Bug 1817716 - Make intl/uconv buildable outside of a unified build environment r=andi 2023-02-21 18:57:45 +00:00
ipc Bug 1772089 p5: Remove content temp dir from Windows and masOS. r=jld,haik,glandium 2023-02-24 08:44:41 +00:00
js Bug 1815863 - Factor out module loader initialization and only perform it once r=nbp 2023-02-24 14:46:14 +00:00
layout Backed out 3 changesets (bug 1818026) for causing mochitest plain failures on test_SVGStyleElement.xhtml. 2023-02-24 16:08:12 +02:00
media Bug 1814359 - Reapply in-tree patch for libcubeb. r=cubeb-reviewers,kinetik 2023-02-22 09:58:28 +00:00
memory Bug 1779257 - Fix the stack walking for linux markers by calling getcontext in a valid stack frame r=mstange 2023-02-22 19:57:08 +00:00
mfbt Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium 2023-02-13 15:02:07 +00:00
mobile Bug 1663444 - Expand the clip rect for async zoom container including the dynamic toolbar area. r=geckoview-reviewers,owlish,botond 2023-02-23 00:05:09 +00:00
modules Bug 1812594 - Refactor URLQueryStrippingListService init and shutdown logic. r=anti-tracking-reviewers,timhuang 2023-02-24 14:55:01 +00:00
mozglue Bug 1733532 - Avoid using stack buffers during calls to Thread32Next. r=gstoll 2023-02-24 15:43:51 +00:00
netwerk Bug 1811627 - ThrottleQueue::Available should return max aRemaining r=necko-reviewers,kershaw 2023-02-24 13:53:18 +00:00
nsprpub
other-licenses Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
parser Bug 1444491 - Check the number of script blocking style sheets in autofocus algorithm r=hsivonen 2023-02-15 20:08:38 +00:00
python Bug 1817786 - Update perftest_tools version to 0.1.13 r=perftest-reviewers,sparky 2023-02-24 08:07:41 +00:00
remote Bug 1808688 - [bidi] Remove before request sent map spec assert r=jdescottes,webdriver-reviewers 2023-02-21 21:25:35 +00:00
security Bug 1772089 p6: Fix content sandbox file system test. r=haik 2023-02-24 08:44:42 +00:00
services No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - r=release-managers,RyanVM 2023-02-23 14:08:52 +00:00
servo Backed out changeset 89c458212f3c (bug 1818329) for causing wpt reftest failures on image-set-invalid-resolution-rendering-2.html 2023-02-24 15:55:07 +02:00
startupcache Bug 1817313 - Make startupcache/ buildable outside of a unified build environment r=andi 2023-02-19 21:40:36 +00:00
storage Bug 1810791 - Check `SQLITE_IOERR_SHORT_READ` against `rc`. r=dom-storage-reviewers,asuth,hsingh 2023-01-18 18:28:03 +00:00
supply-chain Bug 1818098 — Import cargo-vet audits into firefox. r=nika,supply-chain-reviewers 2023-02-23 23:51:38 +00:00
taskcluster Backed out changeset f259e02b50c5 (bug 1816568) for causing wpt unexpected passes. CLOSED TREE 2023-02-24 17:15:45 +02:00
testing Bug 1733532 - Avoid using stack buffers during calls to Thread32Next. r=gstoll 2023-02-24 15:43:51 +00:00
third_party Bug 1817900 - Update zip to 0.6.4. r=emilio,supply-chain-reviewers 2023-02-23 01:34:26 +00:00
toolkit Bug 1733532 - Avoid using stack buffers during calls to Thread32Next. r=gstoll 2023-02-24 15:43:51 +00:00
tools Bug 1779257 - Fix the stack walking for linux markers by calling getcontext in a valid stack frame r=mstange 2023-02-22 19:57:08 +00:00
uriloader Bug 1807260 - ensure local files opened have their extensions taken into account when determining what to do with them, r=mhowell 2023-02-20 16:44:19 +00:00
view Bug 1814239 - Expose Point/Size rounded-to-multiple helpers, and use them from MaybeRoundToDisplayPixels. r=tnikkel,gfx-reviewers,nical 2023-02-06 12:28:47 +00:00
widget Bug 834343 - [Windows] reset the idle time of the user idle service for mouse move events only if the mouse moved by at least 1 pixel, r=cmartin. 2023-02-24 15:24:13 +00:00
xpcom Bug 1772089 p5: Remove content temp dir from Windows and masOS. r=jld,haik,glandium 2023-02-24 08:44:41 +00:00
xpfe/appshell Bug 1816436 - Narrow down the pipMask on GTK. r=stransky,mconley 2023-02-16 14:50:23 +00:00
.arcconfig
.babel-eslint.rc.js
.clang-format
.clang-format-ignore
.cron.yml Bug 1817052 - Ship geckoview twice a day r=diannaS DONTBUILD 2023-02-16 17:42:16 +00:00
.eslintignore Bug 1817183 - Migrate most of services/fxaccounts to ES modules. r=markh 2023-02-17 16:34:42 +00:00
.eslintrc-test-paths.js Bug 1693495 - [devtools] Implement a beginning of "Network" commands, starting with sendHTTPRequest. r=devtools-reviewers,nchevobbe 2023-01-09 13:09:43 +00:00
.eslintrc.js Bug 1816182 - Stop applying ESLint test configuration to module files. r=Gijs,necko-reviewers 2023-02-13 12:26:46 +00:00
.flake8 Bug 1622677 - Make dom/bindings flake8 compliant. r=sylvestre 2023-02-24 13:53:21 +00:00
.git-blame-ignore-revs
.gitattributes
.gitignore Bug 1813597 - Support reach experiments in the FxMS schemas r=omc-reviewers,emcminn 2023-02-13 18:42:36 +00:00
.hg-annotate-ignore-revs
.hg-format-source
.hgignore Bug 1813597 - Support reach experiments in the FxMS schemas r=omc-reviewers,emcminn 2023-02-13 18:42:36 +00:00
.hgtags No bug - tagging 936d17fd83ca2497225995193a49bfe425739135 with FIREFOX_NIGHTLY_111_END a=release DONTBUILD CLOSED TREE 2023-02-13 16:28:00 +00:00
.isort.cfg Bug 1492495 - Add flake8-isort plugin to sort Python includes, with support for autofixing through isort. r=linter-reviewers,ahal 2022-11-03 13:50:46 +00:00
.lando.ini Bug 1801965: update `.lando.ini` file for new autoformatting implementation r=zeid DONTBUILD 2022-11-22 20:19:59 +00:00
.lldbinit
.mailmap
.prettierignore
.prettierrc.js Bug 1811820 - Change prettier config file from json to common js format. r=cmkm,Gijs 2023-01-24 22:53:55 +00:00
.taskcluster.yml Bug 1795994 - Migrate decision task over to GCP r=ahal,releng-reviewers,jcristau 2022-10-26 15:55:18 +00:00
.trackerignore
.yamllint
.ycm_extra_conf.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
AUTHORS
CLOBBER Bug 1812154 - (fix-9d9c2d5795) Removed dependency transport:stun_types fixing error generating build files. r=mjf - moz.build file updates 2023-02-13 09:51:15 -07:00
Cargo.lock Bug 1817900 - Update zip to 0.6.4. r=emilio,supply-chain-reviewers 2023-02-23 01:34:26 +00:00
Cargo.toml Bug 1817900 - Update num_cpus to 1.15.0. r=emilio,supply-chain-reviewers 2023-02-23 01:17:30 +00:00
GNUmakefile
LICENSE
Makefile.in
README.txt
aclocal.m4
build.gradle Bug 1812615 - Update to Glean v52.2.0, glean_parser 7.0.0 and UniFFI 0.23. r=chutten,markh,glandium,supply-chain-reviewers 2023-01-31 11:12:05 +00:00
client.mk Bug 1802075 - Avoid calling "--stop-server" as a command on local build failure. r=firefox-build-system-reviewers,andi 2022-11-23 20:38:52 +00:00
client.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
configure
configure.py Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD 2022-12-23 22:45:46 +00:00
gradle.properties
gradlew
gradlew.bat
mach Bug 1814369 - Properly format Python2 detection message r=ahochheiden 2023-02-01 16:22:39 +00:00
mach.cmd
mach.ps1
mots.yaml Bug 1794552 - Reorganize modules for Remote Protocol. r=zeid DONTBUILD 2023-02-09 19:38:39 +00:00
moz.build Bug 1804449: document basic information about update infrastructure and watershed updates in the source docs. r=jcristau 2022-12-13 16:57:52 +00:00
moz.configure Bug 1817372 - Allow -windows-msvc and -windows-gnu triplets as host and target. r=firefox-build-system-reviewers,andi 2023-02-17 07:42:48 +00:00
mozilla-config.h.in Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi 2023-01-03 08:17:50 +00:00
old-configure.in Bug 1814802 - Move STLPORT_LIBS to moz.configure. r=firefox-build-system-reviewers,glandium 2023-02-14 02:29:22 +00:00
package-lock.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
package.json Bug 1801591 - Add eslint-plugin-eslint-plugin for linting our ESLint plugin rules, and upgrade most of node_modules. r=mossop 2023-02-03 13:28:13 +00:00
settings.gradle Bug 1740799 - Add android-format lint test. r=nalexander,linter-reviewers,sylvestre 2022-11-18 00:55:03 +00:00
substitute-local-geckoview.gradle
test.mozbuild

README.txt

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

    https://firefox-source-docs.mozilla.org/contributing/directory_structure.html

For information on how to build Firefox from the source code and create the patch see:

    https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html

If you have a question about developing Firefox, and can't find the solution
on https://firefox-source-docs.mozilla.org/, you can try asking your question on Matrix at chat.mozilla.org in `Introduction` (https://chat.mozilla.org/#/room/#introduction:mozilla.org) channel.


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 Firefox developers for
testing, may be buggy.