Re: [PATCH] Btrfs: avoid stack bloat in btrfs_ioctl_fs_info()

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

 



>> -	if (copy_to_user(arg, &fi_args, sizeof(fi_args)))
>> -		return -EFAULT;
>> +	if (copy_to_user(arg, fi_args, sizeof(fi_args)))
> 
> sizeof(*fi_args)
> 
> will integrate that, thanks :)
> 

Oops, what a silly mistake!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux