aboutsummaryrefslogtreecommitdiffstats
path: root/table.h
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 07:10:18 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-11-26 07:10:18 +0000
commit43295bdd62998d434f244e925ca6db1af4cb77fb (patch)
tree9f59c88283c65618079acff377831be5a296dcff /table.h
parentw3m 0.3.2 branch: backport from trunk (diff)
downloadw3m-43295bdd62998d434f244e925ca6db1af4cb77fb.tar.gz
w3m-43295bdd62998d434f244e925ca6db1af4cb77fb.zip
w3m 0.3.2 branch: backport from trunk
* [w3m-dev 03438] Re: segmentation fault by large complex table. * table.c (check_table_height): check MAXROWCELL * table.h (MAXROWCELL): added From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--table.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/table.h b/table.h
index 989969e..c3cf96c 100644
--- a/table.h
+++ b/table.h
@@ -1,4 +1,4 @@
-/* $Id: table.h,v 1.5.6.1 2002/11/26 07:09:09 ukai Exp $ */
+/* $Id: table.h,v 1.5.6.2 2002/11/26 07:10:18 ukai Exp $ */
#if (defined(MESCHACH) && !defined(MATRIX))
#define MATRIX
#endif /* (defined(MESCHACH) && !defined(MATRIX)) */
@@ -34,6 +34,7 @@ typedef unsigned short table_attr;
#define TBL_IN_COL 4
#define MAXCELL 20
+#define MAXROWCELL 1000
struct table_cell {
short col[MAXCELL];
short colspan[MAXCELL];