]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Don't shallow copy anything...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 Jan 2018 03:27:30 +0000 (20:27 -0700)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 25 Jan 2018 19:12:28 +0000 (12:12 -0700)
src/modules/rlm_expr/rlm_expr.c

index 52bc5f269f91b3ddb215ab73fe9690e39e28c206..1fa75ac6a9c5bfdd30a4d8d09e006a74fa1b338c 100644 (file)
@@ -1003,11 +1003,7 @@ static int fr_value_box_from_fmt(fr_value_box_t *out, REQUEST *request, char con
         */
        if ((radius_get_vp(&vp, request, fmt) < 0) || !vp) return -1;
 
-       /*
-        *      These are large types.  Return pointers to the
-        *      data instead of copying the data.
-        */
-       fr_value_box_copy_shallow(NULL, out, &vp->data);
+       fr_value_box_copy(NULL, out, &vp->data);
 
        return 0;
 }