Re: [PATCH nf 3/4] netfilter: nft_set_rbtree: fix panic when destroying set by GC

2018-07-10 Thread Taehee Yoo
2018-07-09 22:48 GMT+09:00 Pablo Neira Ayuso : > On Tue, Jul 03, 2018 at 11:40:06PM +0900, Taehee Yoo wrote: >> 2018-07-03 19:20 GMT+09:00 Pablo Neira Ayuso : >> > On Sun, Jul 01, 2018 at 08:44:52PM +0900, Taehee Yoo wrote: >> >> This patch fixes below. >> >> 1. check null pointer of rb_next. >>

Re: [PATCH nf 3/4] netfilter: nft_set_rbtree: fix panic when destroying set by GC

2018-07-09 Thread Pablo Neira Ayuso
On Tue, Jul 03, 2018 at 11:40:06PM +0900, Taehee Yoo wrote: > 2018-07-03 19:20 GMT+09:00 Pablo Neira Ayuso : > > On Sun, Jul 01, 2018 at 08:44:52PM +0900, Taehee Yoo wrote: > >> This patch fixes below. > >> 1. check null pointer of rb_next. > >> rb_next can return null. so null check routine

Re: [PATCH nf 3/4] netfilter: nft_set_rbtree: fix panic when destroying set by GC

2018-07-03 Thread Taehee Yoo
2018-07-03 19:20 GMT+09:00 Pablo Neira Ayuso : > On Sun, Jul 01, 2018 at 08:44:52PM +0900, Taehee Yoo wrote: >> This patch fixes below. >> 1. check null pointer of rb_next. >> rb_next can return null. so null check routine should be added. >> 2. check whether an interval flags is set or not. >>

Re: [PATCH nf 3/4] netfilter: nft_set_rbtree: fix panic when destroying set by GC

2018-07-03 Thread Pablo Neira Ayuso
On Sun, Jul 01, 2018 at 08:44:52PM +0900, Taehee Yoo wrote: > This patch fixes below. > 1. check null pointer of rb_next. > rb_next can return null. so null check routine should be added. > 2. check whether an interval flags is set or not. > If interval flags is given, both a start node and a

[PATCH nf 3/4] netfilter: nft_set_rbtree: fix panic when destroying set by GC

2018-07-01 Thread Taehee Yoo
This patch fixes below. 1. check null pointer of rb_next. rb_next can return null. so null check routine should be added. 2. check whether an interval flags is set or not. If interval flags is given, both a start node and a end node should be removed at once. If interval flags it not given, is