summaryrefslogtreecommitdiff
path: root/fs/eventfd.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2021-08-10 09:33:55 +0300
committerSteve French <stfrench@microsoft.com>2021-08-10 18:45:50 +0300
commit981567bd965329df7e64b13e92a54da816c1e0a4 (patch)
treec33f98b3ad15f17c7570f21711df75e7e310cc98 /fs/eventfd.c
parent7d3fc01796fc895e5fcce45c994c5a8db8120a8d (diff)
downloadlinux-981567bd965329df7e64b13e92a54da816c1e0a4.tar.xz
cifs: use the correct max-length for dentry_path_raw()
RHBZ: 1972502 PATH_MAX is 4096 but PAGE_SIZE can be >4096 on some architectures such as ppc and would thus write beyond the end of the actual object. Cc: <stable@vger.kernel.org> Reported-by: Xiaoli Feng <xifeng@redhat.com> Suggested-by: Brian foster <bfoster@redhat.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions