Skip to content

Commit 85fa76d

Browse files
committed
Fix another crash bug with bogus data (Issue #431)
1 parent ee77825 commit 85fa76d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGES.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Fixed a crash bug with malformed URIs (Issue #418)
99
- Fixed a crash bug with malformed GIF files (Issue #423)
1010
- Fixed a crash bug with empty titles (Issue #425)
11-
- Fixed a crash bug with bogus text (Issue #426)
11+
- Fixed a crash bug with bogus text (Issue #426, Issue #431)
1212
- Fixed some issues reported by Coverity.
1313
- Removed the bundled libjpeg, libpng, and zlib.
1414

htmldoc/ps-pdf.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5010,7 +5010,7 @@ parse_paragraph(tree_t *t, /* I - Tree to parse */
50105010
{
50115011
break;
50125012
}
5013-
else if (prev->markup == MARKUP_NONE)
5013+
else if (prev->markup == MARKUP_NONE && *(prev->data))
50145014
{
50155015
int ch = prev->data[strlen((char *)prev->data) - 1];
50165016

0 commit comments

Comments
 (0)