Rev 7614 | Rev 8103 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7614 | Rev 8100 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | #include <sys/stat.h> |
28 | #include <sys/stat.h> |
29 | #include <sys/wait.h> |
29 | #include <sys/wait.h> |
30 | #include <ctype.h> |
30 | #include <ctype.h> |
31 | #include <gd.h> |
31 | #include <gd.h> |
32 | 32 | ||
33 |
|
33 | /*#define MAX_LINELEN 16383 */ |
34 | #define FILE_LENGTH_LIMIT (1*1024*1024) |
34 | #define FILE_LENGTH_LIMIT (1*1024*1024) |
35 | #define DVI_STACK_LIMIT 1024 |
35 | #define DVI_STACK_LIMIT 1024 |
36 | #define FONT_NUMBER_LIMIT 1024 |
36 | #define FONT_NUMBER_LIMIT 1024 |
37 | #define CHAR_NUMBER_LIMIT 256 |
37 | #define CHAR_NUMBER_LIMIT 256 |
38 | #define IMAGE_SIZE_LIMIT (4*1024*1024) |
38 | #define IMAGE_SIZE_LIMIT (4*1024*1024) |