Re: [MERGE] RFC-compliant object invalidation behaviour.

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Thu, 28 Aug 2008 22:15:09 +0200

On tor, 2008-08-28 at 22:09 +0200, Henrik Nordstrom wrote:

> I have always wanted to see them dead for many reasons.
>
> * On reasonable systems (i.e. most non-dos) the stack is a very suitable
> place for temporary allocations.
>
> * Using a static local array as return value will bite you from time to
> time even without threading, and is absolutely not thread safe..

And forgot.. the current use of LOCAL_ARRAY for both temporary storage
and return values makes it hard to separate the two uses in an audit..

Regards
Henrik

Received on Thu Aug 28 2008 - 20:15:15 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 12:00:06 MDT