[PATCH] Fix __getreent stack calculations.

Jeff Johnston jjohnstn@redhat.com
Fri Jun 7 17:59:00 GMT 2019


Patch applied.

-- Jeff J.

On Fri, Jun 7, 2019 at 10:55 AM Andrew Stubbs <ams@codesourcery.com> wrote:

>
> Fix a bug in which the high-part of 64-bit values are being corrupted,
> leading
> to erroneous stack overflow errors. The problem was only that the
> mixed-size
> calculations are being treated as signed when they should be unsigned.
> ---
>  newlib/libc/machine/amdgcn/getreent.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
>
>



More information about the Newlib mailing list