]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
apparently this is needed
authorAlan T. DeKok <aland@freeradius.org>
Wed, 27 Oct 2021 18:09:47 +0000 (14:09 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 27 Oct 2021 18:10:00 +0000 (14:10 -0400)
src/lib/util/value.c

index ecdd2f5350bd7e21d656417d071fe21cdf348d74..c42f7574d6d6d53273a4460b00eb0d7d9a28b8c7 100644 (file)
@@ -4556,6 +4556,7 @@ parse:
                                        talloc_free(buff);
                                        return -1;
                                }
+                               talloc_set_type(bin, uint8_t); /* talloc_realloc doesn't do this */
 
                                fr_value_box_memdup_buffer_shallow(NULL, dst, dst_enumv, bin, tainted);
                        /*