Skip to content

Commit

Permalink
fix string overflow possibilities
Browse files Browse the repository at this point in the history
  • Loading branch information
mjfitzpatrick authored and olebole committed Jan 28, 2024
1 parent f200f29 commit 4b5de74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix/boot/spp/xc.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ char f2cpath[SZ_FNAME] = "/usr/bin/f2c";
char g77path[SZ_FNAME] = "/usr/bin/g77";

char outfile[SZ_FNAME] = "";
char tempfile[SZ_FNAME] = "";
char tempfile[SZ_PATHNAME] = "";
char *lflags[MAXFLAG+1];
char *lfiles[MAXFILE+1]; /* all files */
char *hlibs[MAXFILE+1]; /* host libraries */
Expand Down

0 comments on commit 4b5de74

Please sign in to comment.