Skip to content

9pfs: fix xattr related issues

Li Qiang qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 of 3 patches 6 repliesIn review
  2. 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 filesSizeRepliesApplied
2/39pfs: convert 'len/copied_len' field in V9fsXattr to the type of uint64_thw/9pfs/9p.h+2 -21 reply
3/39pfs: fix integer overflow issue in xattr read/writehw/9pfs/9p.c+12 -201 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchGreg Kurz
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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