Skip to content

Commit

Permalink
Prevent negative value of row for pushTable() in HTMLlineproc0()
Browse files Browse the repository at this point in the history
  • Loading branch information
tats committed Jan 6, 2017
1 parent e610a51 commit 57c5b4b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions file.c
Original file line number Diff line number Diff line change
Expand Up @@ -6404,6 +6404,8 @@ HTMLlineproc0(char *line, struct html_feed_environ *h_env, int internal)
if (obuf->table_level >= 0) {
struct table *tbl0 = tables[obuf->table_level];
str = Sprintf("<table_alt tid=%d>", tbl0->ntable)->ptr;
if (tbl0->row < 0)
continue;
pushTable(tbl0, tbl);
tbl = tbl0;
tbl_mode = &table_mode[obuf->table_level];
Expand Down

0 comments on commit 57c5b4b

Please sign in to comment.