aboutsummaryrefslogtreecommitdiffstats
path: root/Str.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2021-03-21 03:51:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2021-03-21 03:51:08 +0000
commit15520de3aa5100b148757e550b87a73798192b92 (patch)
tree363ed16b30b0522a62a14d59fb1b6417a843db2d /Str.c
parentUpdate ChangeLog (diff)
downloadw3m-15520de3aa5100b148757e550b87a73798192b92.tar.gz
w3m-15520de3aa5100b148757e550b87a73798192b92.zip
Check STR_SIZE_MAX in Strcat_char
Diffstat (limited to '')
-rw-r--r--Str.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Str.c b/Str.c
index 804352c..9977c2d 100644
--- a/Str.c
+++ b/Str.c
@@ -21,12 +21,10 @@
#ifdef __EMX__ /* or include "fm.h" for HAVE_BCOPY? */
#include <strings.h>
#endif
-#include <limits.h>
#include "Str.h"
#include "myctype.h"
#define INITIAL_STR_SIZE 32
-#define STR_SIZE_MAX (INT_MAX / 32)
#ifdef STR_DEBUG
/* This is obsolete, because "Str" can handle a '\0' character now. */