Skip to content

Commit

Permalink
Fix another crash bug with bogus data (Issue #431)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed May 17, 2021
1 parent ee77825 commit 85fa76d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Fixed a crash bug with malformed URIs (Issue #418)
- Fixed a crash bug with malformed GIF files (Issue #423)
- Fixed a crash bug with empty titles (Issue #425)
- Fixed a crash bug with bogus text (Issue #426)
- Fixed a crash bug with bogus text (Issue #426, Issue #431)
- Fixed some issues reported by Coverity.
- Removed the bundled libjpeg, libpng, and zlib.

Expand Down
2 changes: 1 addition & 1 deletion htmldoc/ps-pdf.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -5010,7 +5010,7 @@ parse_paragraph(tree_t *t, /* I - Tree to parse */
{
break;
}
else if (prev->markup == MARKUP_NONE)
else if (prev->markup == MARKUP_NONE && *(prev->data))
{
int ch = prev->data[strlen((char *)prev->data) - 1];

Expand Down

0 comments on commit 85fa76d

Please sign in to comment.