ATTACHER: Bumped up iobuf[] to 8192 to prevent buffer overrun

This commit is contained in:
Bobbi Webber-Manners 2020-09-27 00:38:54 -04:00
parent 36dd4f5780
commit d2567e8ac1

View File

@ -28,7 +28,7 @@
#define NETBUFSZ 1500
#define LINEBUFSZ 1000 // According to RFC2822 Section 2.1.1 (998+CRLF)
#define READSZ 1024 // Must be less than NETBUFSZ to fit in buf[]
#define IOBUFSZ 4096
#define IOBUFSZ 8192
unsigned char buf[NETBUFSZ+1]; // One extra byte for null terminator
char linebuf[LINEBUFSZ];