diff options
-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: { |