Go to file
Armin Hasitzka 6986ddac1e [cff] Fix boundary checks.
642bc7590c introduced dynamically
allocated memory when parsing CFF files with the "old" engine.  Bounds
checks have never been updated, however, leading to pointless
comparisons of pointers in some cases.  This commit presents a
solution for bounds checks in the CFF module with an extended logic
for the "old" engine while staying as concise as possible for the
"new" one.

* src/cff/cffparse.h: Introduce the struct `CFF_T2_StringRec' and
the additional field `t2_strings' within `CFF_ParserRec'.

* src/cff/cffparse.c (cff_parser_within_limits): Move all boundary
checks into this new function and update the rest of `cffparse.c' to
use it.

Reported as

  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=12137
2019-03-31 11:08:49 +01:00
builds * Version 2.10.0 released. 2019-03-15 07:56:49 +01:00
devel More documentation updates. 2019-02-23 11:21:48 +01:00
docs * Version 2.10.0 released. 2019-03-15 07:56:49 +01:00
include Improve link. 2019-03-21 13:53:43 +01:00
objs * builds/windows/vc2010/freetype.vcxproj: AfterBuild copy. 2017-12-16 22:00:40 -05:00
src [cff] Fix boundary checks. 2019-03-31 11:08:49 +01:00
.gitignore Modernize CMake build. 2018-04-10 22:31:10 +01:00
.mailmap .mailmap: Add Ewald. 2017-12-07 19:27:29 +01:00
CMakeLists.txt * Version 2.10.0 released. 2019-03-15 07:56:49 +01:00
ChangeLog [cff] Fix boundary checks. 2019-03-31 11:08:49 +01:00
ChangeLog.20 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.21 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.22 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.23 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.24 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.25 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.26 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.27 Update all copyright notices. 2019-02-23 10:07:09 +01:00
ChangeLog.28 Update all copyright notices. 2019-02-23 10:07:09 +01:00
Jamfile * Version 2.10.0 released. 2019-03-15 07:56:49 +01:00
Jamrules Update all copyright notices. 2019-02-23 10:07:09 +01:00
Makefile Update all copyright notices. 2019-02-23 10:07:09 +01:00
README * Version 2.10.0 released. 2019-03-15 07:56:49 +01:00
README.git Update all copyright notices. 2019-02-23 10:07:09 +01:00
autogen.sh Update all copyright notices. 2019-02-23 10:07:09 +01:00
configure Update all copyright notices. 2019-02-23 10:07:09 +01:00
modules.cfg Update all copyright notices. 2019-02-23 10:07:09 +01:00
version.sed
vms_make.com Update all copyright notices. 2019-02-23 10:07:09 +01:00

README

  FreeType 2.10.0
  ===============

  Homepage: https://www.freetype.org

  FreeType is a freely available software library to render fonts.

  It  is  written  in  C,  designed to  be  small,  efficient,  highly
  customizable, and  portable while capable of  producing high-quality
  output  (glyph  images) of  most  vector  and bitmap  font  formats.

  Please   read   the  docs/CHANGES   file,   it  contains   IMPORTANT
  INFORMATION.

  Read the  files `docs/INSTALL*'  for installation  instructions; see
  the file `docs/LICENSE.TXT' for the available licenses.

  The FreeType  2 API  reference is located  in `docs/reference/site';
  use  the  file `index.html'  as  the  top entry  point.   Additional
  documentation is available as a separate package from our sites.  Go
  to

    https://download.savannah.gnu.org/releases/freetype/

  and download one of the following files.

    freetype-doc-2.10.0.tar.bz2
    freetype-doc-2.10.0.tar.gz
    ftdoc2100.zip

  To view the documentation online, go to

    https://www.freetype.org/freetype2/docs/


  Mailing Lists
  =============

  The preferred way  of communication with the FreeType  team is using
  e-mail lists.

    general use and discussion:      freetype@nongnu.org
    engine internals, porting, etc.: freetype-devel@nongnu.org
    announcements:                   freetype-announce@nongnu.org
    git repository tracker:          freetype-commit@nongnu.org

  The lists are moderated; see

    https://www.freetype.org/contact.html

  how to subscribe.


  Bugs
  ====

  Please submit bug reports at

    https://savannah.nongnu.org/bugs/?group=freetype

  Alternatively,    you   might    report    bugs    by   e-mail    to
  `freetype-devel@nongnu.org'.   Don't  forget   to  send  a  detailed
  explanation of the problem --  there is nothing worse than receiving
  a terse message that only says `it doesn't work'.


  Enjoy!


    The FreeType Team

----------------------------------------------------------------------

Copyright (C) 2006-2019 by
David Turner, Robert Wilhelm, and Werner Lemberg.

This  file is  part of  the FreeType  project, and  may only  be used,
modified,  and distributed  under the  terms of  the  FreeType project
license,  LICENSE.TXT.  By  continuing to  use, modify,  or distribute
this file you  indicate that you have read  the license and understand
and accept it fully.


--- end of README ---