diff options
| author | Stephen McKay <mckay@FreeBSD.org> | 2003-04-07 08:09:53 +0000 |
|---|---|---|
| committer | Stephen McKay <mckay@FreeBSD.org> | 2003-04-07 08:09:53 +0000 |
| commit | 91d7dc23c1d72815b3f1fc8f235ac71d6bf30bd9 (patch) | |
| tree | 57aa54497d8fe974fb178651374381b407f5c0a0 /usr.sbin/ctm | |
| parent | 50d32b06cc30f100fd43a68d89de90686cb76c6b (diff) | |
Notes
Diffstat (limited to 'usr.sbin/ctm')
| -rw-r--r-- | usr.sbin/ctm/ctm/ctm.h | 1 | ||||
| -rw-r--r-- | usr.sbin/ctm/ctm/ctm_input.c | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/usr.sbin/ctm/ctm/ctm.h b/usr.sbin/ctm/ctm/ctm.h index abee2d4acf2e..b733539bbd97 100644 --- a/usr.sbin/ctm/ctm/ctm.h +++ b/usr.sbin/ctm/ctm/ctm.h @@ -26,7 +26,6 @@ #include <sys/time.h> #define VERSION "2.0" -#define MAXSIZE (1024*1024*40) #define SUBSUFF ".ctm" #define TMPSUFF ".ctmtmp" diff --git a/usr.sbin/ctm/ctm/ctm_input.c b/usr.sbin/ctm/ctm/ctm_input.c index 0a3eecb009a3..32166d311f12 100644 --- a/usr.sbin/ctm/ctm/ctm_input.c +++ b/usr.sbin/ctm/ctm/ctm_input.c @@ -77,10 +77,6 @@ Fbytecnt(FILE *fd, MD5_CTX *ctx, u_char term) u_chars *= 10; u_chars += (*q - '0'); } - if(u_chars > MAXSIZE) { - Fatal("Bytecount too large."); - return -1; - } return u_chars; } |
