diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-03-01 16:13:41 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-03-01 16:13:41 +0000 |
commit | 532b36d33a31bb24bcc1ebbde69388d43d75965a (patch) | |
tree | 84c575068803c823b97d13c94ab9b1a49f71c960 /Build/source | |
parent | 1c4b7f99069d46501cb983e6a244ffd2236e89e1 (diff) |
bug fix (segfault)
git-svn-id: svn://tug.org/texlive/trunk@17251 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/omegafonts/ChangeLog | 10 | ||||
-rw-r--r-- | Build/source/texk/web2c/omegafonts/char_routines.c | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/omegafonts/ChangeLog b/Build/source/texk/web2c/omegafonts/ChangeLog index 8a5d88ec040..f2398badf71 100644 --- a/Build/source/texk/web2c/omegafonts/ChangeLog +++ b/Build/source/texk/web2c/omegafonts/ChangeLog @@ -1,3 +1,13 @@ +2010-03-01 Peter Breitenlohner <peb@mppmu.mpg.de> + + * char_routines.c (check_existence_all_character_fields): + Avoid segfault (unspecified CHARWD defaults to 0.0). + Reported by Akira Kakuto, 28 Feb 2010 10:34:40. + +2010-02-26 Peter Breitenlohner <peb@mppmu.mpg.de> + + * pl-lexer.l: #include <kpathsea/config.h> and drop some others. + 2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de> * pl-lexer.l: #include <kpathsea/c-proto.h> for KPSEDLL used diff --git a/Build/source/texk/web2c/omegafonts/char_routines.c b/Build/source/texk/web2c/omegafonts/char_routines.c index 367d74f2acf..ecb1699e0d2 100644 --- a/Build/source/texk/web2c/omegafonts/char_routines.c +++ b/Build/source/texk/web2c/omegafonts/char_routines.c @@ -248,6 +248,10 @@ check_existence_all_character_fields(void) unsigned j; FOR_ALL_EXISTING_CHARACTERS( + if (entry->indices[C_WD] == NULL) { + current_character = entry; + set_character_measure(C_WD, 0); + } switch(entry->tag) { case TAG_NONE: { break; } case TAG_LIG: { |