[PATCH] Fix __getreent stack calculations.

Andrew Stubbs ams@codesourcery.com
Fri Jun 7 14:55:00 GMT 2019

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-__getreent-stack-calculations.patch
Type: text/x-patch
Size: 1357 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190607/16f393ca/attachment.bin>

More information about the Newlib mailing list