Skip to content

9p coverity fixes

Dominique Martinet linux-fsdevel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/49p: acl: fix uninitialized iattr accessfs/9p/acl.c+1 -10 replies
2/49p/rdma: remove useless check in cm_event_handlernet/9p/trans_rdma.c+1 -20 replies
3/49p: p9dirent_read: check network-provided name lengthnet/9p/protocol.c+9 -30 replies
4/49p locks: fix glock.client_id leak in do_lockfs/9p/vfs_file.c+14 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] 9p coverity fixes

From: Dominique Martinet <[email protected]>

Since we already had one coverity fix for 9p, I figured I could request an account and look at stuff that actually could matter.

The leak of glock.client_id wasn't found by coverity but when I was looking at a false positive there, of the rest the rdma one is useless but the other two are pretty important -- I will probably mark the three useful ones to backport to stable kernels.

As usual, comments more than welcome, but I'll probably push them to linux-next along with the other patches that need test after testing the whole batch together next week.

Dominique Martinet (4):
9p: acl: fix uninitialized iattr access 9p/rdma: remove useless check in cm_event_handler 9p: p9dirent_read: check network-provided name length 9p locks: fix glock.client_id leak in do_lock

 fs/9p/acl.c         |  2 +-
 fs/9p/vfs_file.c    | 16 ++++++++++++++--
 net/9p/protocol.c   | 12 +++++++++---
 net/9p/trans_rdma.c |  3 +--
 4 files changed, 25 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1