[Top][All Lists]

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

Re: Dangerous use of alloca

From: Roland McGrath
Subject: Re: Dangerous use of alloca
Date: Fri, 18 Mar 2016 15:07:32 -0700 (PDT)

I don't know where the notion expressed in the Linux man page came from.
I'm pretty sure it's never been true of GNU compilers.  I don't think there
is any actual problem of the sort you have in mind with the existing code.
The generally issue of unbounded stack allocation is of course separate and
may very well be a reason to change.  But a trivial change to use a
temporary is not actually worthwhile because no real compiler that anybody
uses has this imagined problem.

reply via email to

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