[PATCH v2 1/3] score: Enforce stack and TLS alignment
kinsey.moore at oarcorp.com
Wed Mar 3 13:22:20 UTC 2021
From: Sebastian Huber <sebastian.huber at embedded-brains.de>
Sent: Wednesday, March 3, 2021 02:44
To: Kinsey Moore <kinsey.moore at oarcorp.com>; devel at rtems.org
Subject: Re: [PATCH v2 1/3] score: Enforce stack and TLS alignment
> On 02/03/2021 23:35, Kinsey Moore wrote:
>> I don't see that _Stack_Extend_size() does any overflow handling. Should it? Mathematical overflow is a possibility, but I'd expect to see problems attempting the allocation long before that since it's just pulling from the workspace area of the heap.
> Yes, I added this recently:
> The problem is that if there is an overflow, then you may allocate a
> small number.
Ah, sorry. My local copy was stale by a day and I didn't see that patch come through.
> Please have a look at this patch set:
More information about the devel