Refactor all variables with HCBUFSIZ_LARGE size from stack to heap
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user