Commit 858082de authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch '1990-bad-isc_mem_put-size' into 'main'

Resolve "Bad  isc_mem_put size."

Closes #1990

See merge request !3790
parents 4e7cca96 c2c333e3
Pipeline #46153 passed with stages
in 48 minutes and 57 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,
"'%.*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