Message ID | 20240909202855.510399-1-smayhew@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show |
From: Chuck Lever <chuck.lever@oracle.com> On Mon, 09 Sep 2024 16:28:53 -0400, Scott Mayhew wrote: > diff --git a/utils/nfsdcld/sqlite.c b/utils/nfsdcld/sqlite.c > index 03016fb9..fb900c7b 100644 > Applied to nfsd-next for v6.12, thanks! [1/1] nfsd: enforce upper limit for namelen in __cld_pipe_inprogress_downcall() commit: 2760ad9b89938ce09705ab30e2087c1fb29a5bb4 -- Chuck Lever
diff --git a/utils/nfsdcld/sqlite.c b/utils/nfsdcld/sqlite.c index 03016fb9..fb900c7b 100644 --- a/utils/nfsdcld/sqlite.c +++ b/utils/nfsdcld/sqlite.c @@ -1335,8 +1335,6 @@ sqlite_iterate_recovery(int (*cb)(struct cld_client *clnt), struct cld_client *c id = sqlite3_column_blob(stmt, 0); id_len = sqlite3_column_bytes(stmt, 0); - if (id_len > NFS4_OPAQUE_LIMIT) - id_len = NFS4_OPAQUE_LIMIT; memset(&cmsg->cm_u, 0, sizeof(cmsg->cm_u)); #if UPCALL_VERSION >= 2