openbsd-ports/devel/xulrunner/patches/patch-gfx_src_ps_nsFontMetricsPS_cpp
martynas b1e7eeeafa stick with firefox codebase and manually check out xulrunner update
so that applications which depend on xulrunner won't suffer from
the vulnerabilities which are already fixed.

MFSA 2007-17; MFSA 2007-16; MFSA 2007-14; MFSA 2007-13; MFSA 2007-12;
MFSA 2007-11; MFSA 2007-09; MFSA 2007-08; MFSA 2007-07; MFSA 2007-06;
MFSA 2007-05; MFSA 2007-04; MFSA 2007-03; MFSA 2007-02; MFSA 2007-01;
MFSA 2006-76; MFSA 2006-75; MFSA 2006-73; MFSA 2006-72; MFSA 2006-71;
MFSA 2006-70; MFSA 2006-69; MFSA 2006-68; MFSA 2006-67; MFSA 2006-66;
MFSA 2006-65; MFSA 2006-64; MFSA 2006-62; MFSA 2006-61; MFSA 2006-60;
MFSA 2006-59; MFSA 2006-58; MFSA 2006-57; MFSA 2006-56; MFSA 2006-55;
MFSA 2006-54; MFSA 2006-53; MFSA 2006-52; MFSA 2006-51; MFSA 2006-50;
MFSA 2006-48; MFSA 2006-47; MFSA 2006-46; MFSA 2006-45; MFSA 2006-44.

(these are for firefox 1_8_0_4 -> 1_8_1_4)

ok kurt@
2007-06-28 19:50:04 +00:00

13 lines
523 B
Plaintext

$OpenBSD: patch-gfx_src_ps_nsFontMetricsPS_cpp,v 1.2 2007/06/28 19:50:05 martynas Exp $
--- gfx/src/ps/nsFontMetricsPS.cpp.orig Thu Nov 30 04:17:21 2006
+++ gfx/src/ps/nsFontMetricsPS.cpp Fri Apr 6 17:21:07 2007
@@ -995,7 +995,7 @@ nsFontPSXft::FindFont(PRUnichar aChar, const nsFont& a
fontps *fps = new fontps;
fps->entry = xftEntry;
- fps->charset = fc_charset;
+ fps->charset = FcCharSetCopy(fc_charset);
fps->fontps = nsnull;
fpi.fontps->AppendElement(fps);
}