Al-Qurtas-Islamic-bank-The-.../src
Jarkko Pöyry 96341dc378 [cff, pfr, psaux, winfonts] Fix Savannah bug #43676.
Don't cast cmap init function pointers to an incompatible type.

Without this patch, the number of parameters between declaration and
the real signature differs.  Calling such a function results in
undefined behavior.

  ISO/IEC 9899:TC3 (Committee Draft September 7, 2007)
    6.5.2.2 Function calls
      9 If the function is defined with a type that is not
        compatible with the type (of the expression) pointed to by
        the expression that denotes the called function, the
        behavior is undefined.

On certain platforms (c -> js with emscripten) this causes
termination of execution or invalid calls because in the emscripten
implementation, function pointers of different types are stored in
different pointer arrays.  Incorrect pointer type here results in
indexing of an incorrect array.

* src/cff/cffcmap.c (cff_cmap_encoding_init, cff_cmap_unicode_init),
src/pfr/pfrcmap.c (pfr_cmap_init), src/psaux/t1cmap.c
t1_cmap_standard_init, t1_cmap_expert_init, t1_cmap_custom_init,
t1_cmap_unicode_init), src/winfonts/winfnt.c (fnt_cmap_init): Fix
signature.
2014-11-24 09:53:07 +01:00
..
autofit Trailing space. 2014-11-19 22:10:29 -05:00
base Minor. 2014-11-21 08:41:39 +01:00
bdf [bdf] Fix Savannah bug #43660. 2014-11-22 13:29:10 +01:00
bzip2 */*: Use FT_Err_Ok only. 2013-03-14 11:21:17 +01:00
cache Change some fields in `FT_Bitmap' to unsigned type. 2014-11-21 06:38:46 +01:00
cff [cff, pfr, psaux, winfonts] Fix Savannah bug #43676. 2014-11-24 09:53:07 +01:00
cid Fix clang static analyzer and compiler warnings. 2014-02-08 13:55:38 +01:00
gxvalid Another round of cppcheck nitpicks. 2013-08-01 12:20:20 +02:00
gzip Don't use `register' keyword. Fixes compiler warnings. 2014-08-31 08:47:11 +02:00
lzw Apply fixes for cppcheck nitpicks. 2013-06-04 10:30:48 +02:00
otvalid */*: Use FT_ERR_EQ, FT_ERR_NEQ, and FT_ERR where appropriate. 2013-03-14 17:50:49 +01:00
pcf * src/pcf/pcfread.c (pcf_get_metrics): Sanitize invalid metrics. 2014-11-21 12:06:40 +01:00
pfr [cff, pfr, psaux, winfonts] Fix Savannah bug #43676. 2014-11-24 09:53:07 +01:00
psaux [cff, pfr, psaux, winfonts] Fix Savannah bug #43676. 2014-11-24 09:53:07 +01:00
pshinter Fix several clang static analyzer dead store warnings. 2014-03-04 04:29:17 +01:00
psnames Fix PIC linking. 2013-12-21 08:14:25 +01:00
raster Change some fields in `FT_Bitmap' to unsigned type. 2014-11-21 06:38:46 +01:00
sfnt [sfnt] Fix Savannah bug #43672. 2014-11-24 09:31:32 +01:00
smooth [smooth] Improve code readability. 2014-10-31 22:12:37 -04:00
tools [docmaker] Formatting, copyright, improved documentation. 2014-11-24 06:44:45 +01:00
truetype * src/truetype/ttsubpix.c (COMPATIBILITY_MODE_Rules): Updated. 2014-11-03 07:24:59 +01:00
type1 [type1, type42] Another fix for Savannah bug #43655. 2014-11-24 07:30:05 +01:00
type42 [type1, type42] Another fix for Savannah bug #43655. 2014-11-24 07:30:05 +01:00
winfonts [cff, pfr, psaux, winfonts] Fix Savannah bug #43676. 2014-11-24 09:53:07 +01:00
Jamfile Simplify header file hierarchy. 2013-11-13 08:55:46 +01:00