Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tools/doimage/doimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ typedef struct _sec_options {
} sec_options;

typedef struct _options {
char bin_ext_file[MAX_FILENAME];
char sec_cfg_file[MAX_FILENAME];
char bin_ext_file[MAX_FILENAME+1];
char sec_cfg_file[MAX_FILENAME+1];
sec_options *sec_opts;
uint32_t load_addr;
uint32_t exec_addr;
Expand Down Expand Up @@ -1437,9 +1437,9 @@ int write_boot_image(uint8_t *buf, uint32_t image_size, FILE *out_fd)

int main(int argc, char *argv[])
{
char in_file[MAX_FILENAME];
char out_file[MAX_FILENAME];
char ext_file[MAX_FILENAME];
char in_file[MAX_FILENAME+1];
char out_file[MAX_FILENAME+1];
char ext_file[MAX_FILENAME+1];
FILE *in_fd = NULL;
FILE *out_fd = NULL;
int parse = 0;
Expand Down