[19205] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Re: C99 Features

daemon@ATHENA.MIT.EDU (Nathaniel McCallum)
Wed Jun 17 14:32:30 2015

Message-ID: <1434565935.2815.19.camel@redhat.com>
From: Nathaniel McCallum <npmccallum@redhat.com>
To: Danilo Almeida <dalmeida@mit.edu>, Greg Hudson <ghudson@mit.edu>,
        "'krbdev@mit.edu'" <krbdev@mit.edu>
Date: Wed, 17 Jun 2015 14:32:15 -0400
In-Reply-To: <33E2E06D4C33464A97D0F4884B25430658AAE38F@OC11EXPO25.exchange.mit.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

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
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post