]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
update sbuff macros to catch more corner cases
authorAlan T. DeKok <aland@freeradius.org>
Wed, 6 Aug 2025 12:22:27 +0000 (08:22 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 6 Aug 2025 17:41:08 +0000 (13:41 -0400)
commitf8b0085d0aa28a4f586592949480d6ced55b2443
tree16331c7539eb66d95de91a9cb9ccdd7526af69e9
parent5322d9b6f65a5fbcebfca09b1832a4b082296d81
update sbuff macros to catch more corner cases

FR_SBUFF_IN() is for reading from the sbuff.
FR_SBUFF_OUT() is for writing to the sbuff.

Using the same description for both is very confusing.  Allowing
a writeable sbuff to take 'char const*' input is bad.
src/lib/util/sbuff.h