]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add notes for DNS validation
authorAlan T. DeKok <aland@freeradius.org>
Mon, 18 Apr 2022 15:45:53 +0000 (11:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 20 Apr 2022 13:15:37 +0000 (09:15 -0400)
src/lib/util/struct.c

index f217a598e3a18c44a5814deb7199bb90cd7cced3..a7844e808575b8f88f87d8ae41f35cc37f19e2cb 100644 (file)
@@ -232,8 +232,10 @@ ssize_t fr_struct_from_network(TALLOC_CTX *ctx, fr_pair_list_t *out,
                /*
                 *      Magic values get the callback called.
                 *
-                *      Note that if this is an *array* of DNS labels,
-                *      the callback should deal with this.
+                *      @todo - if this is an array of DNS labels, we
+                *      need to do decompression checks on the entire
+                *      block, and then decode each field
+                *      individually.
                 */
                if (decode_value) {
                        if (child->flags.array) {