bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack allocation.


From: Demetrios Obenour
Subject: bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack allocation.
Date: Sun, 7 Sep 2014 23:20:47 -0400

That would work also, and is probably the best approach.

-----Original Message-----
From: Daniel Colascione [mailto:dancol@dancol.org] 
Sent: Sunday, September 7, 2014 11:20 PM
To: Demetrios Obenour; 'Paul Eggert'; 'Stefan Monnier'
Cc: 18410@debbugs.gnu.org
Subject: Re: bug#18410: Use SAFE_ALLOCA etc. to avoid unbounded stack 
allocation.

On 09/07/2014 08:17 PM, Demetrios Obenour wrote:
> This is crucial. Otherwise, a security vulnerability could result.
> 
> MAX_ALLOCA should not be larger than the page size for the target 
> architecture.

You could just touch every page inside a large alloca.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]