--- dnssec-keyfromlabel.c.orig 2018-07-14 18:37:30.377901398 -0700 +++ dnssec-keyfromlabel.c 2018-07-14 18:38:31.271232383 -0700 @@ -225,6 +225,9 @@ break; case 'l': label = isc_mem_strdup(mctx, isc_commandline_argument); + if (label == NULL) { + fatal("Failed to allocate memory for " + "label"); break; case 'n': nametype = isc_commandline_argument;