forked from pool/MozillaFirefox
662e67c339
* MFSA 2012-91/CVE-2012-5842/CVE-2012-5843 Miscellaneous memory safety hazards * MFSA 2012-92/CVE-2012-4202 (bmo#758200) Buffer overflow while rendering GIF images * MFSA 2012-93/CVE-2012-4201 (bmo#747607) evalInSanbox location context incorrectly applied * MFSA 2012-94/CVE-2012-5836 (bmo#792857) Crash when combining SVG text on path with CSS * MFSA 2012-95/CVE-2012-4203 (bmo#765628) Javascript: URLs run in privileged context on New Tab page * MFSA 2012-96/CVE-2012-4204 (bmo#778603) Memory corruption in str_unescape * MFSA 2012-97/CVE-2012-4205 (bmo#779821) XMLHttpRequest inherits incorrect principal within sandbox * MFSA 2012-99/CVE-2012-4208 (bmo#798264) XrayWrappers exposes chrome-only properties when not in chrome compartment * MFSA 2012-100/CVE-2012-5841 (bmo#805807) Improper security filtering for cross-origin wrappers * MFSA 2012-101/CVE-2012-4207 (bmo#801681) Improper character decoding in HZ-GB-2312 charset * MFSA 2012-102/CVE-2012-5837 (bmo#800363) Script entered into Developer Toolbar runs with chrome privileges * MFSA 2012-103/CVE-2012-4209 (bmo#792405) Frames can shadow top.location * MFSA 2012-104/CVE-2012-4210 (bmo#796866) CSS and HTML injection through Style Inspector * MFSA 2012-105/CVE-2012-4214/CVE-2012-4215/CVE-2012-4216/ CVE-2012-5829/CVE-2012-5839/CVE-2012-5840/CVE-2012-4212/ OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=303
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
# HG changeset patch
|
|
# Parent 993c5b5a44ca18c5273b74c75704b418c2477d28
|
|
bmo#783505 - bump gcc version required for building without template hacks
|
|
|
|
diff --git a/js/src/jstypedarray.cpp b/js/src/jstypedarray.cpp
|
|
--- a/js/src/jstypedarray.cpp
|
|
+++ b/js/src/jstypedarray.cpp
|
|
@@ -1404,17 +1404,17 @@ class TypedArrayTemplate
|
|
// retrieves a given Value, probably from a slot on the object.
|
|
template<Value ValueGetter(JSObject *obj)>
|
|
static JSBool
|
|
Getter(JSContext *cx, unsigned argc, Value *vp)
|
|
{
|
|
CallArgs args = CallArgsFromVp(argc, vp);
|
|
// FIXME: Hack to keep us building with gcc 4.2. Remove this once we
|
|
// drop support for gcc 4.2. See bug 783505 for the details.
|
|
-#if defined(__GNUC__) && __GNUC_MINOR__ <= 2
|
|
+#if defined(__GNUC__) && __GNUC_MINOR__ <= 3
|
|
return CallNonGenericMethod(cx, IsThisClass, GetterImpl<ValueGetter>, args);
|
|
#else
|
|
return CallNonGenericMethod<ThisTypeArray::IsThisClass,
|
|
ThisTypeArray::GetterImpl<ValueGetter> >(cx, args);
|
|
#endif
|
|
}
|
|
|
|
// Define an accessor for a read-only property that invokes a native getter
|