From: Alan T. DeKok Date: Tue, 15 Nov 2016 15:56:44 +0000 (-0500) Subject: VPs coming from packets are tainted X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f47738ef3e3eafd724ec2ef3f5b6fe6fdc50db8;p=thirdparty%2Ffreeradius-server.git VPs coming from packets are tainted --- diff --git a/src/modules/proto_dhcp/dhcp.c b/src/modules/proto_dhcp/dhcp.c index 95b74ec9d21..46f99179aff 100644 --- a/src/modules/proto_dhcp/dhcp.c +++ b/src/modules/proto_dhcp/dhcp.c @@ -853,6 +853,7 @@ static ssize_t decode_value_internal(TALLOC_CTX *ctx, vp_cursor_t *cursor, fr_di } /* switch over type */ FR_PROTO_TRACE("decoding value complete, adding new pair and returning %zu byte(s)", p - data); + vp->vp_tainted = true; fr_cursor_append(cursor, vp); return p - data;