Commit c2c333e3 authored by Mark Andrews's avatar Mark Andrews
Browse files

Bad isc_mem_put() size when an invalid type was specified in a ssu rule.

parent 4e7cca96
Pipeline #46141 passed with stages
in 18 minutes and 58 seconds
5459. [bug] Bad isc_mem_put() size when an invalid type was
specified in a update-policy rule. [GL #1990]
5458. [bug] Prevent a theoretically possible NULL dereference caused
by a data race between zone_maintenance() and
dns_zone_setview_helper(). [GL #1627]
......
......@@ -334,7 +334,7 @@ configure_zone_ssutable(const cfg_obj_t *zconfig, dns_zone_t *zone,
ISC_LOG_ERROR,
"'%.*s' is not a valid type",
(int)r.length, str);
isc_mem_put(mctx, types, n * sizeof(types));
isc_mem_put(mctx, types, n * sizeof(*types));
goto cleanup;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment