bind9/bin/dnssec
Aram Sargsyan 4509c4f1bd Use the return value of isc_task_create()
Improve the error handling by checking the isc_task_create()
function's return value.

CID 356329:

    /bin/dnssec/dnssec-signzone.c: 3732 in main()
    3726     	if (directory == NULL) {
    3727     		directory = ".";
    3728     	}
    3729
    3730     	isc_managers_create(&mctx, ntasks, &loopmgr, &netmgr, &taskmgr);
    3731
    >>>     CID 356329:  Error handling issues  (CHECKED_RETURN)
    >>>     Calling "isc__task_create" without checking return value (as is done elsewhere 16 out of 18 times).
    3732     	isc_task_create(taskmgr, &write_task, 0);
    3733
    3734     	result = dst_lib_init(mctx, engine);
    3735     	if (result != ISC_R_SUCCESS) {
    3736     		fatal("could not initialize dst: %s",
    3737
2022-09-27 12:22:34 +00:00
..
.gitignore [master] dnssec-cds 2017-10-05 01:04:18 -07:00
dnssec-cds.c dns_rdatalist_tordataset() and dns_rdatalist_fromrdataset() can not fail 2022-08-09 08:19:51 +00:00
dnssec-cds.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
dnssec-dsfromkey.c Use the semantic patch to do the unsigned -> unsigned int change 2022-09-19 15:56:02 +02:00
dnssec-dsfromkey.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
dnssec-importkey.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
dnssec-importkey.rst Teach dnssec-settime to read unset times that it writes 2022-05-17 16:28:40 +02:00
dnssec-keyfromlabel.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
dnssec-keyfromlabel.rst Clarify dnssec-keyfromlabel -a in man page 2022-06-09 15:00:08 +02:00
dnssec-keygen.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
dnssec-keygen.rst Update NSEC3 guidance to match draft-ietf-dnsop-nsec3-guidance-10 2022-06-15 17:53:33 +02:00
dnssec-revoke.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
dnssec-revoke.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
dnssec-settime.c Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
dnssec-settime.rst Teach dnssec-settime to read unset times that it writes 2022-05-17 16:28:40 +02:00
dnssec-signzone.c Use the return value of isc_task_create() 2022-09-27 12:22:34 +00:00
dnssec-signzone.rst Update NSEC3 guidance to match draft-ietf-dnsop-nsec3-guidance-10 2022-06-15 17:53:33 +02:00
dnssec-verify.c Update netmgr, tasks, and applications to use isc_loopmgr 2022-08-26 09:09:24 +02:00
dnssec-verify.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
dnssectool.c Use the semantic patch to do the unsigned -> unsigned int change 2022-09-19 15:56:02 +02:00
dnssectool.h Replace ISC_NORETURN with C11's noreturn 2022-03-25 08:33:43 +01:00
Makefile.am Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00