The Samba-Bugzilla – Attachment 18711 Details for
Bug 15907
Stack buffer overflow in samba3.smb2.dirlease.fileserver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.23
0001-s4-torture-Fix-stack-buffer-overflow-in-test_dirleas.patch (text/plain), 1.15 KB, created by
Andreas Schneider
on 2025-09-09 09:36:32 UTC
(
hide
)
Description:
patch for 4.23
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2025-09-09 09:36:32 UTC
Size:
1.15 KB
patch
obsolete
>From 780db4ff5b37eece58d17e4e6ee8c7a5eeeebe82 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 9 Sep 2025 09:24:47 +0200 >Subject: [PATCH] s4:torture: Fix stack buffer overflow in > test_dirlease_oplocks() > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15907 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Volker Lendecke <vl@samba.org> > >Autobuild-User(master): Volker Lendecke <vl@samba.org> >Autobuild-Date(master): Tue Sep 9 09:27:33 UTC 2025 on atb-devel-224 > >(cherry picked from commit c5c238a879182a2dfe528ae49f97da75e242afe7) >--- > source4/torture/smb2/lease.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/source4/torture/smb2/lease.c b/source4/torture/smb2/lease.c >index c2bcda1d887..a28129344f0 100644 >--- a/source4/torture/smb2/lease.c >+++ b/source4/torture/smb2/lease.c >@@ -1516,7 +1516,7 @@ static bool test_dirlease_oplocks(struct torture_context *tctx, > > smb2_deltree(tree, dname); > >- for (i = 0; i < sizeof(levels); i++) { >+ for (i = 0; i < ARRAY_SIZE(levels); i++) { > c = (struct smb2_create) { > .in.oplock_level = levels[i], > .in.desired_access = SEC_RIGHTS_DIR_READ, >-- >2.51.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
pfilipensky
:
review+
Actions:
View
Attachments on
bug 15907
: 18711