Re: [Patch nf] ipvs: initialize tbl->entries after allocation

2018-04-26 Thread Pablo Neira Ayuso
On Thu, Apr 26, 2018 at 02:14:25PM +0200, Simon Horman wrote: > On Tue, Apr 24, 2018 at 08:16:14AM +0300, Julian Anastasov wrote: > > > > Hello, > > > > On Mon, 23 Apr 2018, Cong Wang wrote: > > > > > tbl->entries is not initialized after kmalloc(), therefore > > > causes an uninit-value

Re: [Patch nf] ipvs: initialize tbl->entries after allocation

2018-04-26 Thread Simon Horman
On Tue, Apr 24, 2018 at 08:16:14AM +0300, Julian Anastasov wrote: > > Hello, > > On Mon, 23 Apr 2018, Cong Wang wrote: > > > tbl->entries is not initialized after kmalloc(), therefore > > causes an uninit-value warning in ip_vs_lblc_check_expire() > > as reported by syzbot. > > > >

Re: [Patch nf] ipvs: initialize tbl->entries after allocation

2018-04-23 Thread Julian Anastasov
Hello, On Mon, 23 Apr 2018, Cong Wang wrote: > tbl->entries is not initialized after kmalloc(), therefore > causes an uninit-value warning in ip_vs_lblc_check_expire() > as reported by syzbot. > > Reported-by: > Cc: Simon Horman

[Patch nf] ipvs: initialize tbl->entries after allocation

2018-04-23 Thread Cong Wang
tbl->entries is not initialized after kmalloc(), therefore causes an uninit-value warning in ip_vs_lblc_check_expire() as reported by syzbot. Reported-by: Cc: Simon Horman Cc: Julian Anastasov Cc: Pablo