lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1669144861.git.linux_oss@crudebyte.com>
Date:   Tue, 22 Nov 2022 20:21:01 +0100
From:   Christian Schoenebeck <linux_oss@...debyte.com>
To:     Dominique Martinet <asmadeus@...ewreck.org>,
        Stefano Stabellini <sstabellini@...nel.org>
Cc:     v9fs-developer@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
        GUO Zihua <guozihua@...wei.com>
Subject: [PATCH v2 0/2] net/9p: fix response size check in p9_check_errors()

Follow-up fix for:
https://lore.kernel.org/linux-kernel/Y3hADWgV9JeajmfF@codewreck.org/

Dominique, I moved `zc` to the end of the structure to somewhat address
the layout padding. If you prefer a function argument in the first place,
let me know and I'll send a v3.

v1 -> v2:

  * Move `zc` to end of struct p9_rstatf (to avoid huge padding).
    [patch 1]

  * Fix format specifier for `capacity` (reported by kernel test bot).
    [patch 2]

  * Fix code style. [patch 1..2]

  * Extend and adjust commit log messages. [patch 1..2]

Christian Schoenebeck (2):
  net/9p: distinguish zero-copy requests
  net/9p: fix response size check in p9_check_errors()

 include/net/9p/9p.h |  2 ++
 net/9p/client.c     | 13 +++++++++----
 2 files changed, 11 insertions(+), 4 deletions(-)

-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ