]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Missed
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 11 Dec 2022 21:18:20 +0000 (15:18 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 11 Dec 2022 21:18:20 +0000 (15:18 -0600)
src/lib/server/tmpl_eval.c

index deb1bb85a2029176f5ab659e00705ac5c56ae7f8..3a09e04c330550decdf71f7fb0f67467fd1c02de 100644 (file)
@@ -863,7 +863,7 @@ ssize_t _tmpl_to_atype(TALLOC_CTX *ctx, void *out,
                default:
                        break;
                }
-               fr_value_box_copy_unsafe(&from_cast, to_cast);
+               fr_value_box_copy_shallow(NULL, &from_cast, to_cast);
        }
 
        RDEBUG4("Copying %zu bytes to %p from offset %zu",