ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/freetype-freeworld/F-15/freetype-2.4.4-CVE-2012-1126.patch
Revision: 1.1
Committed: Wed Apr 4 15:43:38 2012 UTC (13 months, 2 weeks ago) by kkofler
Branch: MAIN
CVS Tags: freetype-freeworld-2_4_4-7_fc15, HEAD
Log Message:
* Wed Apr 04 2012 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.4.4-7
- Add security patches from Fedora freetype-2.4.4-8 (rh#806270)

Line File contents
1 --- a/src/bdf/bdflib.c
2 +++ b/src/bdf/bdflib.c
3 @@ -1,6 +1,6 @@
4 /*
5 * Copyright 2000 Computing Research Labs, New Mexico State University
6 - * Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010
7 + * Copyright 2001-2012
8 * Francesco Zappa Nardelli
9 *
10 * Permission is hereby granted, free of charge, to any person obtaining a
11 @@ -1254,7 +1254,8 @@
12 ep = line + linelen;
13
14 /* Trim the leading whitespace if it exists. */
15 - *sp++ = 0;
16 + if ( *sp )
17 + *sp++ = 0;
18 while ( *sp &&
19 ( *sp == ' ' || *sp == '\t' ) )
20 sp++;