]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove assert
authorAlan T. DeKok <aland@freeradius.org>
Tue, 4 Jan 2022 00:25:07 +0000 (19:25 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 4 Jan 2022 00:26:09 +0000 (19:26 -0500)
src/protocols/radius/decode.c

index 891b52a37a6733ee72cf9bb5d0f7fd7360032903..fe5592e85bd0c8c083d08b9d78d51effc391029b 100644 (file)
@@ -1,3 +1,4 @@
+
 /*
  *   This library is free software; you can redistribute it and/or
  *   modify it under the terms of the GNU Lesser General Public
@@ -1170,7 +1171,6 @@ ssize_t fr_radius_decode_pair_value(TALLOC_CTX *ctx, fr_pair_list_t *out,
        }
 
        if ((data + attr_len) > packet_ctx->end) {
-               fr_assert(0);
                fr_strerror_printf("%s: input overflows packet", __FUNCTION__);
                return -1;
        }