Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86123 Details for
Bug 124828
media-libs/freetype: integer overflows (CVE-2006-{0747|1861|2493|2661})
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
issue_6.patch
issue_6.patch (text/plain), 1.19 KB, created by
Sune Kloppenborg Jeppesen (RETIRED)
on 2006-05-03 23:21:27 UTC
(
hide
)
Description:
issue_6.patch
Filename:
MIME Type:
Creator:
Sune Kloppenborg Jeppesen (RETIRED)
Created:
2006-05-03 23:21:27 UTC
Size:
1.19 KB
patch
obsolete
>diff --git a/ChangeLog b/ChangeLog >index 63bec40..c35dc70 100644 >--- a/ChangeLog >+++ b/ChangeLog >@@ -4,6 +4,9 @@ > this patch comes from the Debian package for libfreetype6 !! > How come nobody mentions this on the devel list ?? > >+ * src/bdf/bdflib.c: fixed a problem with large encodings. >+ Again, this patch comes from Debian libfreetype6 for 2.1.10 ! >+ > 2006-02-23 Chia-I Wu <b90201047@ntu.edu.tw> > > * include/freetype/ftoutln.h (enum FT_Orientation): New value >diff --git a/src/bdf/bdflib.c b/src/bdf/bdflib.c >index 8f7bd64..70cf755 100644 >--- a/src/bdf/bdflib.c >+++ b/src/bdf/bdflib.c >@@ -1561,6 +1561,14 @@ > > p->glyph_enc = _bdf_atol( p->list.field[1], 0, 10 ); > >+ /* Check that the encoding is in the range [0,65536] because */ >+ /* otherwise p->have (a bitmap with static size) overflows. */ >+ if ( p->glyph_enc >= sizeof(p->have)*8 ) >+ { >+ error = BDF_Err_Invalid_File_Format; >+ goto Exit; >+ } >+ > /* Check to see whether this encoding has already been encountered. */ > /* If it has then change it to unencoded so it gets added if */ > /* indicated. */
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
Actions:
View
|
Diff
Attachments on
bug 124828
:
86118
|
86119
|
86120
|
86121
|
86122
|
86123
|
86201
|
89111
|
89112
|
89113
|
89114
|
89115