[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.
- Re: Dangerous use of alloca, (continued)
- Re: Dangerous use of alloca, Agustina Arzille, 2016/03/15
- Re: Dangerous use of alloca, Samuel Thibault, 2016/03/15
- Re: Dangerous use of alloca, Agustina Arzille, 2016/03/15
- Re: Dangerous use of alloca, Agustina Arzille, 2016/03/15
- Re: Dangerous use of alloca, Justus Winter, 2016/03/21
- Re: Dangerous use of alloca,
Roland McGrath <=