ref: 84e80233d1910dc255f4adb1d3de56a1d89e987c
parent: 120e25cfe43a221c18d61f1ef7fc0abf55c61f25
author: Ori Bernstein <[email protected]>
date: Fri Jun 22 07:23:39 EDT 2012
Null sets become null sets.
--- a/parse/bitset.c
+++ b/parse/bitset.c
@@ -43,6 +43,8 @@
{
Bitset *bs;
+ if (!a)
+ return NULL;
bs = xalloc(sizeof(Bitset));
bs->nchunks = a->nchunks;
bs->chunks = xalloc(a->nchunks*sizeof(size_t));