This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix __getreent stack calculations.


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(-)
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]