Date: Wed, 28 Nov 2007 13:04:56 -0800 From: Xin LI <delphij@delphij.net> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: d@delphij.net, freebsd-gnome@freebsd.org, portmgr@freebsd.org Subject: Re: [PATCH] Update firefox to 2.0.0.10 Message-ID: <474DD7F8.6080105@delphij.net> In-Reply-To: <474DB41B.7010901@marcuscom.com> References: <474C993B.4060706@delphij.net> <1196233491.75142.15.camel@shumai.marcuscom.com> <op.t2ih041u9aq2h7@mezz.mezzweb.com> <474DB41B.7010901@marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020204000703050209010702 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Joe Marcus Clarke wrote: > Jeremy Messenger wrote: [...] >> http://www.neowin.net/news/main/07/11/28/firefox-20010-gaffe-prompts-quick-fix > >> https://bugzilla.mozilla.org/show_bug.cgi?id=405584 > >> One of us will have to dig to find patch or we can create security patch >> instead update it to 2.0.0.10. > > Looks like this should fix it. Can someone run a quick test? I'll try > and get to it myself. > > https://bugzilla.mozilla.org/attachment.cgi?id=284556 Here is a patch, I have verified it myself. Cheers, - -- Xin LI <delphij@delphij.net> http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHTdf4hcUczkLqiksRAjcfAJ9HlekLLPPoVOHsd1NEBY28X6W+mgCgt+tk 0Q5L5KrWJf8+v372iNuZR7o= =LJbY -----END PGP SIGNATURE----- --------------020204000703050209010702 Content-Type: text/x-patch; name="firefox-2010-quickfix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="firefox-2010-quickfix.diff" Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/firefox/Makefile,v retrieving revision 1.186 diff -u -p -r1.186 Makefile --- Makefile 28 Nov 2007 17:47:33 -0000 1.186 +++ Makefile 28 Nov 2007 19:22:18 -0000 @@ -8,6 +8,7 @@ PORTNAME= firefox DISTVERSION= 2.0.0.10 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= www ipv6 MASTER_SITES= ${MASTER_SITE_MOZILLA_EXTENDED} Index: files/patch-content__canvas__src__nsCanvasRenderingContext2D.cpp =================================================================== RCS file: files/patch-content__canvas__src__nsCanvasRenderingContext2D.cpp diff -N files/patch-content__canvas__src__nsCanvasRenderingContext2D.cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-content__canvas__src__nsCanvasRenderingContext2D.cpp 28 Nov 2007 19:22:05 -0000 @@ -0,0 +1,26 @@ +Index: content/canvas/src/nsCanvasRenderingContext2D.cpp +=================================================================== +RCS file: /cvsroot/mozilla/content/canvas/src/nsCanvasRenderingContext2D.cpp,v +retrieving revision 1.102 +diff -u -8 -p -r1.102 nsCanvasRenderingContext2D.cpp +--- content/canvas/src/nsCanvasRenderingContext2D.cpp 10 Oct 2007 20:31:45 -0000 1.102 ++++ content/canvas/src/nsCanvasRenderingContext2D.cpp 11 Oct 2007 23:31:32 -0000 +@@ -2140,17 +2140,17 @@ nsCanvasRenderingContext2D::CairoSurface + getter_AddRefs(imgRequest)); + NS_ENSURE_SUCCESS(rv, rv); + if (!imgRequest) + // XXX ERRMSG we need to report an error to developers here! (bug 329026) + return NS_ERROR_NOT_AVAILABLE; + + PRUint32 status; + imgRequest->GetImageStatus(&status); +- if (status != imgIRequest::STATUS_LOAD_COMPLETE) ++ if ((status & imgIRequest::STATUS_LOAD_COMPLETE) == 0) + return NS_ERROR_NOT_AVAILABLE; + + nsCOMPtr<nsIURI> uri; + rv = imageLoader->GetCurrentURI(uriOut); + NS_ENSURE_SUCCESS(rv, rv); + + *forceWriteOnlyOut = PR_FALSE; + --------------020204000703050209010702--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474DD7F8.6080105>