Refactor all variables with HCBUFSIZ_LARGE size from stack to heap

This commit is contained in:
jsteube
2016-10-30 22:47:48 +01:00
parent eb58b076da
commit b8efae4281
5 changed files with 309 additions and 285 deletions
+5 -2
View File
@@ -566,8 +566,8 @@ typedef struct hashes
hashinfo_t **hash_info;
u8 *out_buf; // allocates [HCBUFSIZ_LARGE];
u8 *tmp_buf; // allocates [HCBUFSIZ_LARGE];
u8 *out_buf; // allocates [HCBUFSIZ_LARGE];
u8 *tmp_buf; // allocates [HCBUFSIZ_LARGE];
} hashes_t;
@@ -1050,6 +1050,9 @@ typedef struct potfile_ctx
FILE *fp;
char *filename;
u8 *out_buf; // allocates [HCBUFSIZ_LARGE];
u8 *tmp_buf; // allocates [HCBUFSIZ_LARGE];
} potfile_ctx_t;
typedef struct restore_data