This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils 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: Prevent unbounded stack usage in libraries


On Sat, May 23, 2015 at 11:10:13PM +0200, Mark Wielaard wrote:
> The following patches makes sure we can use gcc -Wstack-usage
> to check there is no unbounded stack usage. This is mostly done by
> changing unbounded alloca or dynamic stack arrays into a fixed bounded
> stack array or just calling malloc and free directly.

I pushed this patch series, with the changes suggested by Roland,
to master now.

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