increase HCBUFSIZ_LARGE and truncate too large strings when copied to old_buf in events

This commit is contained in:
philsmd
2017-11-18 12:18:56 +01:00
parent c8819e6e8b
commit ef6b20cc30
3 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ but this is nededed for VS compiler which doesn't have inline keyword but has __
#define SALT_MAX_OLD 51
#define HCBUFSIZ_TINY 0x1000
#define HCBUFSIZ_LARGE 0x50000
#define HCBUFSIZ_LARGE 0xb0000
#define CPT_CACHE 0x20000
#define PARAMCNT 64