diff options
author | Ronnie Sahlberg <lsahlber@redhat.com> | 2020-02-13 12:14:47 +1000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-02-14 11:10:24 -0600 |
commit | 85db6b7ae65f33be4bb44f1c28261a3faa126437 (patch) | |
tree | 8eeef4c0aaf7b1e1906872651569ce5aa52d524a /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
parent | 2c6251ad91afc2e3c671c904702e8d121d3d50c0 (diff) |
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 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions