]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
allocate from the request, which is thread-safe. Helps with #3188
authorAlan T. DeKok <aland@freeradius.org>
Thu, 5 Aug 2021 15:22:12 +0000 (11:22 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 5 Aug 2021 15:22:12 +0000 (11:22 -0400)
commit7875ca06d1e312f55107c5e369097c7cb5369b53
treefd7d8e2623d089a9b0b2d780f3cbb18fddc082ee
parente01b506fafa2a181d8663656ccfda03dbe1583a4
allocate from the request, which is thread-safe.  Helps with #3188

The "check" item is taken from the "huntgroups" file.  It's in
a statically allocated list which doesn't change, and shouldn't
change during run-time.  Allocating memory in its context is
not thread-safe, and can cause issues
src/main/pair.c