Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Stefan Hajnoczi
On Fri, Jun 01, 2018 at 11:28:31AM +0200, Miklos Szeredi wrote: > On Fri, Jun 1, 2018 at 11:24 AM, Stefan Hajnoczi wrote: > > Ping? > > > > Archive link in case I broke email threading: > > https://marc.info/?l=linux-fsdevel=152719324102009=2 > > Thanks for the patch. Should already be fixed

Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Stefan Hajnoczi
On Fri, Jun 01, 2018 at 11:28:31AM +0200, Miklos Szeredi wrote: > On Fri, Jun 1, 2018 at 11:24 AM, Stefan Hajnoczi wrote: > > Ping? > > > > Archive link in case I broke email threading: > > https://marc.info/?l=linux-fsdevel=152719324102009=2 > > Thanks for the patch. Should already be fixed

Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Miklos Szeredi
On Fri, Jun 1, 2018 at 11:24 AM, Stefan Hajnoczi wrote: > Ping? > > Archive link in case I broke email threading: > https://marc.info/?l=linux-fsdevel=152719324102009=2 Thanks for the patch. Should already be fixed in: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next

Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Miklos Szeredi
On Fri, Jun 1, 2018 at 11:24 AM, Stefan Hajnoczi wrote: > Ping? > > Archive link in case I broke email threading: > https://marc.info/?l=linux-fsdevel=152719324102009=2 Thanks for the patch. Should already be fixed in: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git for-next

Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Stefan Hajnoczi
Ping? Archive link in case I broke email threading: https://marc.info/?l=linux-fsdevel=152719324102009=2 Stefan signature.asc Description: PGP signature

Re: [PATCH] fuse: fix NULL dereference when new_inode() fails

2018-06-01 Thread Stefan Hajnoczi
Ping? Archive link in case I broke email threading: https://marc.info/?l=linux-fsdevel=152719324102009=2 Stefan signature.asc Description: PGP signature

[PATCH] fuse: fix NULL dereference when new_inode() fails

2018-05-24 Thread Stefan Hajnoczi
fuse_ctl_remove_conn() dereferences d_inode(fc->ctl_dentry[i]). If fuse_ctl_add_dentry() failed to allocate the inode then this field is NULL and it's not safe to call fuse_ctl_remove_conn(). This patch frees partially initialized dentries in the fuse_ctl_add_dentry() error case to solve the

[PATCH] fuse: fix NULL dereference when new_inode() fails

2018-05-24 Thread Stefan Hajnoczi
fuse_ctl_remove_conn() dereferences d_inode(fc->ctl_dentry[i]). If fuse_ctl_add_dentry() failed to allocate the inode then this field is NULL and it's not safe to call fuse_ctl_remove_conn(). This patch frees partially initialized dentries in the fuse_ctl_add_dentry() error case to solve the