[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/3] 9pfs: fix xattr related issues
From: |
Li Qiang |
Subject: |
[Qemu-devel] [PATCH v3 0/3] 9pfs: fix xattr related issues |
Date: |
Thu, 13 Oct 2016 03:09:40 -0700 |
From: Li Qiang <address@hidden>
The current xattr implementation in 9pfs has several issues.
-The 'copied_len' in V9fsXattr is used both for accounting bytes and to tag the
xattr fid.
-The 'len/copied_len' field in V9fsXattr has a wrong type.
-The read/write dispatch function of xattr uses unsafe computations.
This patchset solves these issues.
Li Qiang (3):
9pfs: add xattrwalk_fid field in V9fsXattr struct
9pfs: convert 'len/copied_len' field in V9fsXattr to the type of
uint64_t
9pfs: fix integer overflow issue in xattr read/write
hw/9pfs/9p.c | 39 ++++++++++++++++-----------------------
hw/9pfs/9p.h | 5 +++--
2 files changed, 19 insertions(+), 25 deletions(-)
--
1.8.3.1
- [Qemu-devel] [PATCH v3 0/3] 9pfs: fix xattr related issues,
Li Qiang <=