mirror of
https://github.com/bobbimanners/emailler.git
synced 2024-05-28 05:41:28 +00:00
ATTACHER: Bumped up iobuf[] to 8192 to prevent buffer overrun
This commit is contained in:
parent
36dd4f5780
commit
d2567e8ac1
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue
Block a user