9pfs: fix xattr related issues
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 of 3 patches 6 repliesIn review
- v12 patches 9 repliesSuperseded
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 2/3 | 9pfs: convert 'len/copied_len' field in V9fsXattr to the type of uint64_thw/ | +2 | 1 reply | |
| 3/3 | 9pfs: fix integer overflow issue in xattr read/writehw/ | +12 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Greg Kurz |
|---|---|
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/3] 9pfs: fix xattr related issues
From: Li Qiang <[email protected]>
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(-)
Signature · 1 line
1.8.3.1