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>] [day] [month] [year] [list]
Date:   Mon, 04 Jan 2021 23:06:28 +0000
From:   David Howells <dhowells@...hat.com>
To:     To:;
Cc:     dhowells@...hat.com, Marc Dionne <marc.dionne@...istor.com>,
        linux-afs@...ts.infradead.org,
        linux-fsdevel <linux-fsdevel@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: [GIT PULL] afs: Fix directory entry name handling

Hi Linus,

Could you pull these two commits, assuming Daniel doesn't object?  The first
is the fix for the strnlen() array limit check and the second fixes the
calculation of the number of dirent records used to represent any particular
filename length.

I've added Tested-bys for Marc Dionne into the branch, but otherwise the
patches should be the same as have been on the branch since the 23rd (was
commit 587f19fc90c1).

David
---
The following changes since commit a409ed156a90093a03fe6a93721ddf4c591eac87:

  Merge tag 'gpio-v5.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio (2020-12-17 18:07:20 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-fixes-04012021

for you to fetch changes up to 366911cd762db02c2dd32fad1be96b72a66f205d:

  afs: Fix directory entry size calculation (2021-01-04 12:25:19 +0000)

----------------------------------------------------------------
AFS fixes

----------------------------------------------------------------
David Howells (2):
      afs: Work around strnlen() oops with CONFIG_FORTIFIED_SOURCE=y
      afs: Fix directory entry size calculation

 fs/afs/dir.c               | 49 ++++++++++++++++++++++++----------------------
 fs/afs/dir_edit.c          |  6 ++----
 fs/afs/xdr_fs.h            | 25 +++++++++++++++++++----
 include/trace/events/afs.h |  2 ++
 4 files changed, 51 insertions(+), 31 deletions(-)

Powered by blists - more mailing lists