[augeas-devel] Re: handle failed hash_create

David Lutterkort dlutter at redhat.com
Tue Apr 22 19:53:49 UTC 2008


On Tue, 2008-04-22 at 20:41 +0200, Jim Meyering wrote:
> The hash_create function can fail, in which case it returns NULL.
> Neither of the two uses in fa.c handle that case, and will
> dereference NULL via the subsequent call to hash_set_allocator.

Fixed those .. I know that fa.c is a regular crashfest if allocations
fail; it needs a lot more love in that area.

David





More information about the augeas-devel mailing list