off-by-one buffer overflow patch

Jerry DeLisle jvdelisle@charter.net
Sat Mar 27 22:11:05 GMT 2021


Pushed:

To git+ssh://gcc.gnu.org/git/gcc.git
    651684b462f..01685676a93  master -> master

Author: Steve Kargl <kargl@gcc.gnu.org>
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.

Regards,

Jerry

On 3/27/21 6:28 AM, dhumieres.dominique@free.fr wrote:
> 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 not realize that I did not post the actual patch
> I have in my working tree, but the Steve's one does the trick.
>
> And yes I need help to do a commit.
>
> Thanks
>
> Dominique



More information about the Fortran mailing list