]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
set flags before allocating parent
authorAlan T. DeKok <aland@freeradius.org>
Thu, 7 Aug 2025 01:20:48 +0000 (21:20 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 7 Aug 2025 01:20:48 +0000 (21:20 -0400)
commit3cf9a831ae8980d4e02241ac275aefded1ad33be
tree553f142cfa80aa7f9595af2fd2e53d8f1ffedcdd
parent013660fb0e2859029e906012d7dbf51e387999b8
set flags before allocating parent

and unknown attributes can allocate EXT_VENDOR

which helps with unknown VSAs.  They previously result in a
Vendor-Specific { Foo { } } being allocated, and then an error
returned of "dict is read only".

At that point, the decoder would then create a raw top-level
attribute
src/lib/util/dict_ext_priv.h
src/lib/util/dict_util.c