]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
comment out talloc_get_type_abort_const() until we fix all callers
authorAlan T. DeKok <aland@freeradius.org>
Sun, 1 Mar 2026 16:10:05 +0000 (11:10 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 1 Mar 2026 16:36:05 +0000 (11:36 -0500)
src/lib/util/talloc.h

index 826cc7f84f99ce4c1512d7fe7fe85366f8101c78..d0262709a8b32410a8f263ef78e0fe3e712eb233 100644 (file)
@@ -138,7 +138,8 @@ static inline TALLOC_CTX *talloc_init_const(char const *name)
  */
 static inline size_t talloc_strlen(char const *s)
 {
-       char const *our_s = talloc_get_type_abort_const(s, char);
+//     char const *our_s = talloc_get_type_abort_const(s, char);
+       char const *our_s = s;
        return talloc_array_length(our_s) - 1;
 }
 #define talloc_strdup(_ctx, _str)       talloc_typed_strdup((TALLOC_CTX *) (_ctx), _str)