Compare commits

...

1 Commits

Author SHA1 Message Date
Diego dos Santos Fronza
3b6503ffc9 Fix possible NULL pointer dereferencing on variable label. 2019-07-23 11:31:28 -03:00

View File

@@ -218,6 +218,8 @@ main(int argc, char **argv) {
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;