Prevent unbounded stack usage in libraries

Mark Wielaard mjw at redhat.com
Wed May 27 21:14:19 UTC 2015


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.


More information about the elfutils-devel mailing list