On Sat, Mar 27, 2021 at 03:11:05PM -0700, Jerry DeLisle wrote:
> Pushed:
>
> To git+ssh://gcc.gnu.org/git/gcc.git
> 651684b462f..01685676a93 master -> master
>
> Author: Steve Kargl
> Date: Sat Mar 27 15:02:16 2021 -0700
>
> fortran: Fix off-by-one in buffer sizes.
>
> gcc/fort
Pushed:
To git+ssh://gcc.gnu.org/git/gcc.git
651684b462f..01685676a93 master -> master
Author: Steve Kargl
Date: Sat Mar 27 15:02:16 2021 -0700
fortran: Fix off-by-one in buffer sizes.
gcc/fortran/ChangeLog:
* misc.c (gfc_typename): Fix off-by-one in buffer sizes.
Le 2021-03-27 06:36, Jerry DeLisle a écrit :
On 3/26/21 10:38 AM, dhumieres.dominique--- via Fortran wrote:
I have proposed a similar patch in pr95998.
I cannot commit to git!-(
Thanks
Dominique
I do not see a patch in 95998. Do you need help to do a commit?
Jerry
I was too quick and did
On 3/26/21 10:38 AM, dhumieres.dominique--- via Fortran wrote:
I have proposed a similar patch in pr95998.
I cannot commit to git!-(
Thanks
Dominique
I do not see a patch in 95998. Do you need help to do a commit?
Jerry
I have proposed a similar patch in pr95998.
I cannot commit to git!-(
Thanks
Dominique
This patch fixes an off-by-one buffer overflow issue.
Please commit.
diff --git a/gcc/fortran/misc.c b/gcc/fortran/misc.c
index 8a96243e80d..3d449ae17fe 100644
--- a/gcc/fortran/misc.c
+++ b/gcc/fortran/misc.c
@@ -124,8 +124,10 @@ gfc_basic_typename (bt type)
const char *
gfc_typename (gfc_type