diff --git a/lib/t1lib/parseAFM.c b/lib/t1lib/parseAFM.c index 6a31d7f..ba64541 100644 --- a/lib/t1lib/parseAFM.c +++ b/lib/t1lib/parseAFM.c @@ -199,7 +199,9 @@ static char *token(stream) idx = 0; while (ch != EOF && ch != ' ' && ch != CR && ch != LF && - ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';'){ + ch != CTRL_Z && ch != '\t' && ch != ':' && ch != ';' + && idx < (MAX_NAME -1)) + { ident[idx++] = ch; ch = fgetc(stream); } /* while */ @@ -235,7 +237,7 @@ static char *linetoken(stream) while ((ch = fgetc(stream)) == ' ' || ch == '\t' ); idx = 0; - while (ch != EOF && ch != CR && ch != LF && ch != CTRL_Z) + while (ch != EOF && ch != CR && ch != LF && ch != CTRL_Z && idx < (MAX_NAME - 1)) { ident[idx++] = ch; ch = fgetc(stream); /option> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pantheon.scm
AgeCommit message (Expand)Author
2024-09-09gnu: Add pantheon-calendar....* gnu/packages/pantheon.scm (pantheon-calendar): New variable. Change-Id: I7fc7b694764cfa2556188f24835aa349bdc93cfb jgart
2024-09-03gnu: Add pantheon-stylesheet....* gnu/packages/pantheon.scm (pantheon-stylesheet): New variable. Change-Id: I33b8d144198e8ef51631ed3050a2f9e3fb25c3a4 Signed-off-by: jgart <jgart@dismail.de> altadil
2024-08-25gnu: pantheon-terminal: Use gexp modern style....* gnu/packages/pantheon.scm (pantheon-terminal) [arguments]: Use gexp modern style. Change-Id: I74d12ec09d8385f2093af91909963c934f9ca968 jgart
2024-08-22gnu: Add pantheon-photos....* gnu/packages/pantheon.scm (pantheon-photos): New variable. Change-Id: Iaa9fb285faf58425c74abbe73371b777a49caac4 Signed-off-by: jgart <jgart@dismail.de> altadil