]> 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 19:00:01 +0000 (15:00 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 5 Aug 2021 19:00:24 +0000 (15:00 -0400)
commit653ed7b6e11066263c70bd4572b43ff1c312810f
treec9beb65fa52218a792e72d737918a421d8c7e191
parenta83b3302bd59fe69c5364bf0462e38b9ef16d0ad
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

Manual port of commit 7875ca06d1
src/lib/server/paircmp.c