add INSISTs to silence tainted data false positive in Coverity
This commit is contained in:
@@ -318,6 +318,8 @@ tostruct_hip(ARGS_TOSTRUCT) {
|
||||
goto cleanup;
|
||||
isc_region_consume(®ion, hip->hit_len);
|
||||
|
||||
INSIST(hip->key_len <= region.length);
|
||||
|
||||
hip->key = mem_maybedup(mctx, region.base, hip->key_len);
|
||||
if (hip->key == NULL)
|
||||
goto cleanup;
|
||||
|
||||
Reference in New Issue
Block a user