FreeBSD Bugzilla – Attachment 192577 Details for
Bug 227568
print/freetype2: Fix CVE-2018-6942 (v2.9)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch (since 466285 revision)
freetype2.diff (text/plain), 1.28 KB, created by
lightside
on 2018-04-17 01:42:18 UTC
(
hide
)
Description:
Proposed patch (since 466285 revision)
Filename:
MIME Type:
Creator:
lightside
Created:
2018-04-17 01:42:18 UTC
Size:
1.28 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 466285) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= freetype2 > PORTVERSION= 2.9 >-PORTREVISION= 1 >+PORTREVISION= 2 > CATEGORIES= print > MASTER_SITES= http://savannah.nongnu.org/download/freetype/ \ > SF/freetype/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+\.[0-9]+).*/\1/}/ \ >Index: files/patch-src_truetype_ttinterp.c >=================================================================== >--- files/patch-src_truetype_ttinterp.c (nonexistent) >+++ files/patch-src_truetype_ttinterp.c (working copy) >@@ -0,0 +1,24 @@ >+# * src/truetype/ttinterp.c (Ins_GETVARIATION): Avoid NULL reference. >+# https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=29c759284e305ec428703c9a5831d0b1fc3497ef >+ >+--- src/truetype/ttinterp.c.orig 2018-01-03 18:00:19 UTC >++++ src/truetype/ttinterp.c >+@@ -7532,8 +7532,16 @@ >+ return; >+ } >+ >+- for ( i = 0; i < num_axes; i++ ) >+- args[i] = coords[i] >> 2; /* convert 16.16 to 2.14 format */ >++ if ( coords ) >++ { >++ for ( i = 0; i < num_axes; i++ ) >++ args[i] = coords[i] >> 2; /* convert 16.16 to 2.14 format */ >++ } >++ else >++ { >++ for ( i = 0; i < num_axes; i++ ) >++ args[i] = 0; >++ } >+ } >+ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
lightside
:
maintainer-approval?
(
gnome
)
Actions:
View
|
Diff
Attachments on
bug 227568
: 192577