Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
629ceb93
Commit
629ceb93
authored
May 16, 2004
by
Paul Brook
Committed by
Paul Brook
May 16, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* options.c (gfc_handle_module_path_options): Fix buffer overrun.
From-SVN: r81925
parent
6d3e9d84
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/options.c
+1
-1
No files found.
gcc/fortran/ChangeLog
View file @
629ceb93
2004-05-16 Paul Brook <paul@codesourcery.com>
2004-05-16 Paul Brook <paul@codesourcery.com>
* options.c (gfc_handle_module_path_options): Fix buffer overrun.
2004-05-16 Paul Brook <paul@codesourcery.com>
* arith.c (gfc_range_check): Fix logic error.
* arith.c (gfc_range_check): Fix logic error.
2004-05-16 Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-05-16 Steve Kargl <sgk@troutmask.apl.washington.edu>
...
...
gcc/fortran/options.c
View file @
629ceb93
...
@@ -155,7 +155,7 @@ gfc_handle_module_path_options (const char *arg)
...
@@ -155,7 +155,7 @@ gfc_handle_module_path_options (const char *arg)
exit
(
3
);
exit
(
3
);
}
}
gfc_option
.
module_dir
=
(
char
*
)
gfc_getmem
(
strlen
(
arg
));
gfc_option
.
module_dir
=
(
char
*
)
gfc_getmem
(
strlen
(
arg
)
+
2
);
strcpy
(
gfc_option
.
module_dir
,
arg
);
strcpy
(
gfc_option
.
module_dir
,
arg
);
strcat
(
gfc_option
.
module_dir
,
"/"
);
strcat
(
gfc_option
.
module_dir
,
"/"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment