diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2021-04-03 10:40:24 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2021-04-03 10:40:24 +0000 |
commit | 58b26000a214d64f6b3ee1522cbbd7a4e07080a0 (patch) | |
tree | 6ea40276e78db668807a4ed5246a899eba255670 /table.h | |
parent | Update ChangeLog (diff) | |
download | w3m-58b26000a214d64f6b3ee1522cbbd7a4e07080a0.tar.gz w3m-58b26000a214d64f6b3ee1522cbbd7a4e07080a0.zip |
Limit size and number of tables to prevent integer overflow
Diffstat (limited to 'table.h')
-rw-r--r-- | table.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -14,8 +14,10 @@ #include "Str.h" #define MAX_TABLE 20 /* maximum nest level of table */ +#define MAX_TABLE_N_LIMIT 2000 #define MAX_TABLE_N 20 /* maximum number of table in same level */ +#define MAXROW_LIMIT 32767 #define MAXROW 50 #define MAXCOL 256 |