diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-05 15:45:52 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-11-05 15:45:52 +0000 |
commit | 28636c30f5e8c35d4f6b4d70e56fed84ee242a67 (patch) | |
tree | 1f4a7772953d6c99df467b100a2acc1ff63d88a0 /table.h | |
parent | version.c.in: cvs version (diff) | |
download | w3m-28636c30f5e8c35d4f6b4d70e56fed84ee242a67.tar.gz w3m-28636c30f5e8c35d4f6b4d70e56fed84ee242a67.zip |
[w3m-dev 03371] segmentation fault by large complex table.
* table.c (bsearch_2short): indexarry char to short
(bsearch_double): ditto
(dv2sv): ditto
(table_rule_width): ditto
(set_integrated_width): ditto
(check_table_height): ditto
(feed_table_tag): ditto
* table.h (struct table_cell): index, eindex char to short
From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r-- | table.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: table.h,v 1.5 2001/11/30 10:10:24 ukai Exp $ */ +/* $Id: table.h,v 1.6 2002/11/05 15:45:53 ukai Exp $ */ #if (defined(MESCHACH) && !defined(MATRIX)) #define MATRIX #endif /* (defined(MESCHACH) && !defined(MATRIX)) */ @@ -37,11 +37,11 @@ typedef unsigned short table_attr; struct table_cell { short col[MAXCELL]; short colspan[MAXCELL]; - char index[MAXCELL]; + short index[MAXCELL]; short maxcell; short icell; #ifdef MATRIX - char eindex[MAXCELL]; + short eindex[MAXCELL]; short necell; #endif /* MATRIX */ short width[MAXCELL]; |