]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Bad isc_mem_put() size when an invalid type was specified in a ssu rule.
authorMark Andrews <marka@isc.org>
Thu, 2 Jul 2020 06:12:55 +0000 (16:12 +1000)
committerMark Andrews <marka@isc.org>
Mon, 6 Jul 2020 00:33:27 +0000 (10:33 +1000)
CHANGES
bin/named/zoneconf.c

diff --git a/CHANGES b/CHANGES
index f1193d09a7f837f74e1320ab3a871f20666f88e4..226534ea38ce500c9275f9b5ce163ec5edb2e955 100644 (file)
--- a/CHANGES
+++ b/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
                        by a data race between zone_maintenance() and
                        dns_zone_setview_helper(). [GL #1627]
index 4bd79ed6cc9f116c6b0dc6a80a7707460ddc0e11..486877df55490f81ad02c94a12c0478063b23548 100644 (file)
@@ -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;
                        }
                }