Should fix the 'crash' bug related to input > 2 kb, as well as fix the mobile deletion crash bug, also a small memory leak plugged

This commit is contained in:
Vatiken
2012-03-02 08:43:06 +00:00
parent 2aed18ba52
commit 870bb8ef38
5 changed files with 47 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ typedef struct descriptor_data descriptor_t;
#define SNIPPET_VERSION 6 /* Helpful for debugging */
#define MAX_PROTOCOL_BUFFER 2048
#define MAX_PROTOCOL_BUFFER MAX_RAW_INPUT_LENGTH
#define MAX_VARIABLE_LENGTH 4096
#define MAX_OUTPUT_BUFFER LARGE_BUFSIZE
#define MAX_MSSP_BUFFER 4096