unchecked returns in rbtdb_test.c and dnssec-signzone.c
rbtdb_test.c
134 isc_buffer_add(&b, strlen(str1));
CID 332455 (#1 of 2): Unchecked return value (CHECKED_RETURN) [select issue]
135 dns_name_fromtext(name1, &b, dns_rootname, 0, NULL);
136
137 name2 = dns_fixedname_initname(&fname2);
138 isc_buffer_constinit(&b, str2, strlen(str2));
139 isc_buffer_add(&b, strlen(str2));
CID 332455 (#2 of 2): Unchecked return value (CHECKED_RETURN)
1. check_return: Calling dns_name_fromtext without checking return value (as is done elsewhere 137 out of 157 times).
140 dns_name_fromtext(name2, &b, dns_rootname, 0, NULL);
199 isc_buffer_add(&b, strlen(str1));
CID 332453 (#1 of 2): Unchecked return value (CHECKED_RETURN) [select issue]
200 dns_name_fromtext(name1, &b, dns_rootname, 0, NULL);
201
202 name2 = dns_fixedname_initname(&fname2);
203 isc_buffer_constinit(&b, str1, strlen(str1));
204 isc_buffer_add(&b, strlen(str1));
CID 332453 (#2 of 2): Unchecked return value (CHECKED_RETURN)
1. check_return: Calling dns_name_fromtext without checking return value (as is done elsewhere 137 out of 157 times).
205 dns_name_fromtext(name2, &b, dns_rootname, 0, NULL);
dnssec-signzone.c
385
CID 332452 (#1 of 1): Unchecked return value (CHECKED_RETURN)
1. check_return: Calling isc_rwlock_lock without checking return value (as is done elsewhere 98 out of 100 times).
386 isc_rwlock_lock(&keylist_lock, isc_rwlocktype_read);
387 key = keythatsigned_unlocked(rrsig);
CID 332454: Unchecked return value (CHECKED_RETURN) [select issue]
388 isc_rwlock_unlock(&keylist_lock, isc_rwlocktype_read);
Edited by Michał Kępień