On Wed, Jul 15, 2020 at 5:05 PM Miklos Szeredi <miklos@xxxxxxxxxx> wrote: > > On Tue, Jul 14, 2020 at 12:26 PM Chirantan Ekbote > <chirantan@xxxxxxxxxxxx> wrote: > > > > The ioctl encoding for this parameter is a long but the documentation > > says it should be an int and the kernel drivers expect it to be an int. > > If the fuse driver treats this as a long it might end up scribbling over > > the stack of a userspace process that only allocated enough space for an > > int. > > > > This was previously discussed in [1] and a patch for fuse was proposed > > in [2]. From what I can tell the patch in [2] was nacked in favor of > > adding new, "fixed" ioctls and using those from userspace. However > > there is still no "fixed" version of these ioctls and the fact is that > > it's sometimes infeasible to change all userspace to use the new one. > > Okay, applied. > ...and pushed? I do not see in in fuse.git. - Sedat - > Funny that no one came back with this issue for 7 years. > > Thanks, > Miklos