could cause the caller to report an out of memory
error. [RT #2398]
+1189. [bug] On some systems, malloc(0) returns NULL, which
+ could cause the caller to report an out of memory
+ error. [RT #2398]
+
1188. [bug] Dynamic updates of a signed zone would fail if
some of the zone private keys were unavailable.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: mem.c,v 1.109 2001/12/05 19:13:26 bwelling Exp $ */
+/* $Id: mem.c,v 1.110 2002/01/22 15:40:24 bwelling Exp $ */
#include <config.h>
static void *
default_memalloc(void *arg, size_t size) {
UNUSED(arg);
+ if (size == 0)
+ size = 1;
return (malloc(size));
}