]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
VPs coming from packets are tainted
authorAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2016 15:56:44 +0000 (10:56 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 15 Nov 2016 15:56:57 +0000 (10:56 -0500)
src/modules/proto_dhcp/dhcp.c

index 95b74ec9d219894b9d73f6c9f237ad9757c35374..46f99179aff6c6112e0e37951caf6f4b37147c25 100644 (file)
@@ -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;