Re: [nft PATCH] Explicitly deny concatenated types in interval sets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Sutter <phil@xxxxxx> wrote:
> Previously, this triggered a program abort:
> 
> | # nft add table ip t
> | # nft add set ip t my_set '{ type ipv4_addr . inet_service ; flags interval ; }'
> | # nft add element ip t my_set '{10.0.0.1 . tcp }'
> | BUG: invalid range expression type concat
> | nft: expression.c:1085: range_expr_value_low: Assertion `0' failed.
> 
> With this patch in place, the 'add set' command above gives an error
> message:
> 
> | # nft add set ip t my_set3 '{ type ipv4_addr . inet_service ; flags interval ; }'
> | Error: concatenated types not supported in interval sets
> | add set ip t my_set3 { type ipv4_addr . inet_service ; flags interval ; }
> |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Applied, thanks Phil.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux