mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Merge branch '1990-bad-isc_mem_put-size' into 'main'
Resolve "Bad isc_mem_put size." Closes #1990 See merge request isc-projects/bind9!3790
This commit is contained in:
3
CHANGES
3
CHANGES
@@ -1,3 +1,6 @@
|
|||||||
|
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
|
5458. [bug] Prevent a theoretically possible NULL dereference caused
|
||||||
by a data race between zone_maintenance() and
|
by a data race between zone_maintenance() and
|
||||||
dns_zone_setview_helper(). [GL #1627]
|
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,
|
ISC_LOG_ERROR,
|
||||||
"'%.*s' is not a valid type",
|
"'%.*s' is not a valid type",
|
||||||
(int)r.length, str);
|
(int)r.length, str);
|
||||||
isc_mem_put(mctx, types, n * sizeof(types));
|
isc_mem_put(mctx, types, n * sizeof(*types));
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user