mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-15 03:15:09 -05:00
c3499ad6b8
* gnu/packages/patches/icecat-CVE-2015-4477.patch, gnu/packages/patches/icecat-CVE-2015-7207.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt01.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt02.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt03.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt04.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt05.patch, gnu/packages/patches/icecat-CVE-2016-1952-pt06.patch, gnu/packages/patches/icecat-CVE-2016-1954.patch, gnu/packages/patches/icecat-CVE-2016-1960.patch, gnu/packages/patches/icecat-CVE-2016-1961.patch, gnu/packages/patches/icecat-CVE-2016-1962.patch, gnu/packages/patches/icecat-CVE-2016-1964.patch, gnu/packages/patches/icecat-CVE-2016-1965.patch, gnu/packages/patches/icecat-CVE-2016-1966.patch, gnu/packages/patches/icecat-CVE-2016-1974.patch, gnu/packages/patches/icecat-bug-1248851.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/gnuzilla.scm (icecat)[source]: Add patches.
54 lines
1.8 KiB
Diff
54 lines
1.8 KiB
Diff
Copied from upstream:
|
|
https://hg.mozilla.org/releases/mozilla-esr38/raw-rev/a653013e7b50
|
|
|
|
# HG changeset patch
|
|
# User Peter Van der Beken <peterv@propagandism.org>
|
|
# Date 1454340035 -3600
|
|
# Node ID a653013e7b503912a32621e8da64a37171316588
|
|
# Parent 0d0d7e8292f7ecf5f1149d528c0524f04447c4ad
|
|
Bug 1243335 - report bad QName. r=sicking, a=sylvestre
|
|
|
|
diff --git a/dom/xslt/xslt/txInstructions.cpp b/dom/xslt/xslt/txInstructions.cpp
|
|
--- a/dom/xslt/xslt/txInstructions.cpp
|
|
+++ b/dom/xslt/xslt/txInstructions.cpp
|
|
@@ -93,16 +93,19 @@ txAttribute::txAttribute(nsAutoPtr<Expr>
|
|
txNamespaceMap* aMappings)
|
|
: mName(Move(aName)), mNamespace(Move(aNamespace)), mMappings(aMappings)
|
|
{
|
|
}
|
|
|
|
nsresult
|
|
txAttribute::execute(txExecutionState& aEs)
|
|
{
|
|
+ nsAutoPtr<txTextHandler> handler(
|
|
+ static_cast<txTextHandler*>(aEs.popResultHandler()));
|
|
+
|
|
nsAutoString name;
|
|
nsresult rv = mName->evaluateToString(aEs.getEvalContext(), name);
|
|
NS_ENSURE_SUCCESS(rv, rv);
|
|
|
|
const char16_t* colon;
|
|
if (!XMLUtils::isValidQName(name, &colon) ||
|
|
TX_StringEqualsAtom(name, nsGkAtoms::xmlns)) {
|
|
return NS_OK;
|
|
@@ -125,19 +128,16 @@ txAttribute::execute(txExecutionState& a
|
|
if (!nspace.IsEmpty()) {
|
|
nsId = txNamespaceManager::getNamespaceID(nspace);
|
|
}
|
|
}
|
|
else if (colon) {
|
|
nsId = mMappings->lookupNamespace(prefix);
|
|
}
|
|
|
|
- nsAutoPtr<txTextHandler> handler(
|
|
- static_cast<txTextHandler*>(aEs.popResultHandler()));
|
|
-
|
|
// add attribute if everything was ok
|
|
return nsId != kNameSpaceID_Unknown ?
|
|
aEs.mResultHandler->attribute(prefix, Substring(name, lnameStart),
|
|
nsId, handler->mValue) :
|
|
NS_OK;
|
|
}
|
|
|
|
txCallTemplate::txCallTemplate(const txExpandedName& aName)
|
|
|