gecko-dev/xpcom/components
Kris Maglione c1225b0967 Bug 1483865: Make NotStackAllocated assertion a bit safer. r=froydnj
This assertion was always meant to be a best-effort thing to catch obvious
errors, but the cases where the assumptions it makes fail have been growing. I
could remove it entirely, but I'd be happier keeping at least some basic
sanity checks.

This compromise continues allowing any address below the first argument
pointer, and extends the assertion to also allow anything more than 2KiB above
it. We could probably get away with stretching that to at least 4KiB, but 2
seems safer, and likely enough to catch the obvious cases.

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

--HG--
extra : source : a5f51c76930c49160bf5e909301d8e7f1a83e379
extra : amend_source : e3decc44bfb4bed6696a394980c378dc033e1021
2018-08-16 11:35:50 -07:00
..
GenericFactory.cpp
GenericFactory.h
ManifestParser.cpp Bug 1479945: Part 5 - Remove the 'allowbootstrap' directive flag. r=froydnj 2018-07-31 16:44:52 -07:00
ManifestParser.h Bug 1444104 - Remove some NUWA related code from the manifest parser. r=froydnj 2018-03-08 13:58:29 -08:00
Module.h Bug 1471132 - Make building a binary component a compile-time error. r=froydnj 2018-06-26 16:18:14 +09:00
ModuleLoader.h
ModuleUtils.h Bug 1409249: Require singleton constructors to return explicit already_AddRefed. r=froydnj 2017-10-16 21:08:42 -07:00
moz.build Bug 1444745 - Part 1: Clear out xptinfo and typelib to make way for the this patch, r=mccr8 2018-04-17 19:20:50 -04:00
nsCategoryCache.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsCategoryCache.h Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsCategoryManager.cpp Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsCategoryManager.h Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsCategoryManagerUtils.h
nsComponentManager.cpp Bug 1483865: Make NotStackAllocated assertion a bit safer. r=froydnj 2018-08-16 11:35:50 -07:00
nsComponentManager.h Bug 1479945: Part 1 - Remove nominal support for binary-component directive. r=froydnj 2018-07-31 16:31:31 -07:00
nsComponentManagerUtils.cpp Bug 1368994 - Remove !compMgr warning. r=froydnj 2017-07-26 14:00:10 -07:00
nsComponentManagerUtils.h Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsICategoryManager.idl Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00
nsIClassInfo.idl Bug 1453011 - Remove CONTENT_NODE. r=bz. 2018-04-16 12:58:55 +02:00
nsIComponentManager.idl
nsIComponentRegistrar.idl
nsIFactory.idl
nsIModule.idl
nsIServiceManager.idl Bug 1389848: Make isServiceInstantiated*() return false rather than throw for uninstantiated services. r=ehsan 2017-08-12 16:15:19 -07:00
nsServiceManagerUtils.h Bug 1477579: Part 3 - Avoid duplicating static strings in category manager entries. r=froydnj 2018-07-23 17:41:06 -07:00