Al-Qurtas-Islamic-bank-The-.../src/base
Kan-Ru Chen 21b1a0de7c Fix reading of signed integers from files on 64bit platforms.
Previously, signed integers were converted to unsigned integers, but
this can fail because of sign extension.  For example, 0xa344a1eb
becomes 0xffffffffa344a1eb.

We now do the reverse which is always correct because the integer
size is the same during the cast from unsigned to signed.

* include/freetype/internal/ftstream.h, src/base/ftstream.c
(FT_Stream_Get*): Replace with...
(FT_Stream_GetU*): Functions which read unsigned integers.
Update all macros accordingly.

* src/gzip/ftgzip.c (ft_gzip_get_uncompressed_size): Updated.
2011-04-12 09:26:43 +02:00
..
Jamfile Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
basepic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
basepic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftadvanc.c base: Prevent some overflows on LP64 systems. 2009-08-01 00:30:24 +09:00
ftapi.c Remove trailing whitespace. From Alexei. 2007-01-16 06:11:27 +00:00
ftbase.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftbase.h [raccess] Grouping resource access rules based on Darwin VFS. 2010-10-13 17:05:42 +09:00
ftbbox.c Documentation typo. 2010-01-09 08:14:26 +01:00
ftbdf.c * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden), 2005-10-20 02:13:46 +00:00
ftbitmap.c Improve bitmap size or pixel variables for 16-bit systems. 2009-08-01 00:32:06 +09:00
ftcalc.c Improve bitmap size or pixel variables for 16-bit systems. 2009-08-01 00:32:06 +09:00
ftcid.c Extend CID service functions to handle CID-keyed CFFs as CID fonts. 2009-03-11 21:29:54 +00:00
ftdbgmem.c Change the type of FT_MEM_VAL() from FT_ULong to FT_PtrDist. 2010-10-25 00:35:59 +09:00
ftdebug.c Formatting. 2008-11-29 09:31:44 +00:00
ftfstype.c Formatting, copyright years. 2009-03-03 21:35:32 +00:00
ftgasp.c formatting, copyright years and messages, doc polishing 2007-01-09 10:37:36 +00:00
ftgloadr.c Remove C++ warnings. 2010-07-12 21:13:22 +02:00
ftglyph.c Remove C++ warnings. 2010-07-12 21:13:22 +02:00
ftgxval.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftinit.c Formatting. 2010-06-08 08:37:11 +02:00
ftlcdfil.c Add new function `FT_Library_SetLcdFilterWeights'. 2010-04-05 08:46:26 +02:00
ftmac.c Minor fixes. 2009-01-06 06:59:36 +00:00
ftmm.c Fix some FreeType Coverity issues as reported for Ghostscript. 2009-03-12 08:07:49 +00:00
ftobjs.c Fix autohinting fallback. 2011-03-06 18:35:37 +01:00
ftotval.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftoutln.c Fix valgrind warning. 2010-06-27 15:10:15 +02:00
ftpatent.c Another clang fix. 2010-01-05 20:48:57 +01:00
ftpfr.c Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftpic.c Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.c [raccess] Grouping resource access rules based on Darwin VFS. 2010-10-13 17:05:42 +09:00
ftsnames.c ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00
ftstream.c Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
ftstroke.c * src/base/ftstroke.c (FT_StrokerRec): Remove unused `valid' field. 2011-03-16 08:54:02 +01:00
ftsynth.c Fix minor issues reported by <muktha.narayan@wipro.com>. 2010-09-13 07:32:22 +02:00
ftsystem.c Prevent to open a FT_Stream for zero-sized file on non-Unix. 2010-10-13 16:21:59 +09:00
fttrigon.c base: Prevent some overflows on LP64 systems. 2009-08-01 00:30:24 +09:00
fttype1.c Add new function FT_Get_PS_Font_Private(). 2004-11-12 07:02:45 +00:00
ftutil.c fixing implementation bug in ft_mem_strcpyn 2007-03-08 10:50:38 +00:00
ftwinfnt.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
ftxf86.c Documentation updates, whitespace. 2004-12-13 23:16:59 +00:00
rules.mk ftnames.c -> ftsnames.c 2009-04-04 09:20:14 +02:00