diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-02-13 03:14:47 +0100 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-02-14 18:10:24 +0100 |
commit | 85db6b7ae65f33be4bb44f1c28261a3faa126437 (patch) | |
tree | 8eeef4c0aaf7b1e1906872651569ce5aa52d524a /fs/cifs/dns_resolve.c | |
parent | cifs: enable change notification for SMB2.1 dialect (diff) | |
download | linux-85db6b7ae65f33be4bb44f1c28261a3faa126437.tar.xz linux-85db6b7ae65f33be4bb44f1c28261a3faa126437.zip |
cifs: make sure we do not overflow the max EA buffer size
RHBZ: 1752437
Before we add a new EA we should check that this will not overflow
the maximum buffer we have available to read the EAs back.
Otherwise we can get into a situation where the EAs are so big that
we can not read them back to the client and thus we can not list EAs
anymore or delete them.
Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/cifs/dns_resolve.c')
0 files changed, 0 insertions, 0 deletions