+4208. [bug] Address null pointer dereferences on out of memory.
+ [RT #40764]
+
4207. [bug] Handle class mismatches with raw zone files.
[RT #40746]
len = strlen(dlzname) + 5;
cpval = isc_mem_allocate(mctx, len);
+ if (cpval == NULL)
+ return (ISC_R_NOMEMORY);
snprintf(cpval, len, "dlz %s", dlzname);
}
len = strlen(algorithm) + strlen(mykeyname) + strlen(secretstr) + 3;
keystr = isc_mem_allocate(mctx, len);
+ if (keystr == NULL)
+ fatal("out of memory");
snprintf(keystr, len, "%s:%s:%s", algorithm, mykeyname, secretstr);
setup_keystr();