File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## 0.2.2
44
55* Patch memory corruption bug due to PNG background images being the incorrect size.
6+ * Patch memory corruption bug in ` fontforge ` triggered by some fonts.
67
78## 0.2.1
89
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ RUN patch ./poppler/glib/poppler-enums.c.template ./patches/poppler-enums.c.temp
3333RUN patch ./poppler/glib/poppler-private.h ./patches/poppler-private.h.patch
3434RUN ./buildScripts/buildPoppler
3535RUN ./buildScripts/getFontforge
36+ RUN patch ./fontforge/fontforge/tottfgpos.c ./patches/fontforge-tottfgpos.c.patch
3637RUN ./buildScripts/buildFontforge
3738RUN ./buildScripts/buildPdf2htmlEX
3839RUN ./buildScripts/installPdf2htmlEX
Original file line number Diff line number Diff line change 1+ @@ -2091,10 +2091,10 @@
2+ }
3+
4+ static uint16 *FigureInitialClasses(FPST *fpst) {
5+ - uint16 *initial = malloc((fpst->nccnt+1)*sizeof(uint16));
6+ + uint16 *initial = malloc((fpst->rule_cnt+1)*sizeof(uint16));
7+ int i, cnt, j;
8+
9+ - initial[fpst->nccnt] = 0xffff;
10+ + initial[fpst->rule_cnt] = 0xffff;
11+ for ( i=cnt=0; i<fpst->rule_cnt; ++i ) {
12+ for ( j=0; j<cnt ; ++j )
13+ if ( initial[j] == fpst->rules[i].u.class.nclasses[0] )
You can’t perform that action at this time.
0 commit comments