C99 Features

Nathaniel McCallum npmccallum at redhat.com
Wed Jun 17 14:32:15 EDT 2015


On Wed, 2015-06-17 at 00:02 +0000, Danilo Almeida wrote:
> Nathaniel wrote:
> > I think VLAs buys a lot.
> 
> It seems that VLA could introduce new issues or invariants since you 
> can no longer check for allocation failure.

You can't check for allocation failure on most operating systems' heap
allocation these days. Now, the failure in the heap vs stack cases is
somewhat different; and you have to be cautious to avoid some security
issues. But with careful use, there is a lot of benefit.

Nathaniel


More information about the krbdev mailing list