diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-02-12 08:22:14 (GMT) |
commit | 40727c47f4a6319dc101ca97cddd72732db03889 (patch) | |
tree | c469bd876c58981ef4abd517af7af7f6c8f8868a /abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch | |
parent | d39d6198243375c7cc8e72aa926d24fc6b625982 (diff) | |
download | linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.zip linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.gz linhes_pkgbuild-40727c47f4a6319dc101ca97cddd72732db03889.tar.bz2 |
Initial inclusion of fbsplash and deps.
Diffstat (limited to 'abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch')
-rw-r--r-- | abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch b/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch new file mode 100644 index 0000000..67a1c07 --- /dev/null +++ b/abs/core-testing/freetype2-static/freetype-2.2.1-memcpy-fix.patch @@ -0,0 +1,14 @@ +--- freetype-2.2.1/src/psaux/psobjs.c~ 2006-04-26 16:38:17.000000000 +0200 ++++ freetype-2.2.1/src/psaux/psobjs.c 2006-09-10 15:01:13.000000000 +0200 +@@ -165,6 +165,11 @@ + return PSaux_Err_Invalid_Argument; + } + ++ if ( length < 0 ) { ++ FT_ERROR(( "ps_table_add: invalid length\n" )); ++ return PSaux_Err_Invalid_Argument; ++ } ++ + /* grow the base block if needed */ + if ( table->cursor + length > table->capacity ) + { |