The Samba-Bugzilla – Attachment 15886 Details for
Bug 14332
double free in smbtree
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for master
0001-s3-utils-Fix-double-free-error-with-smbtree.patch (text/plain), 1.56 KB, created by
Noel Power
on 2020-04-01 14:11:25 UTC
(
hide
)
Description:
patch for master
Filename:
MIME Type:
Creator:
Noel Power
Created:
2020-04-01 14:11:25 UTC
Size:
1.56 KB
patch
obsolete
>From e996f71ae8ba94fe6b75cf87fb085fbe33626466 Mon Sep 17 00:00:00 2001 >From: Noel Power <noel.power@suse.com> >Date: Wed, 1 Apr 2020 12:26:09 +0100 >Subject: [PATCH] s3/utils: Fix double free error with smbtree > >==3632== >WORKGROUP > \\ATP > \\ATP\IPC$ IPC Service () >==3632== Invalid read of size 8 >==3632== at 0x773C926: poptResetContext (in /usr/lib64/libpopt.so.0.0.0) >==3632== by 0x773E5DD: poptFreeContext (in /usr/lib64/libpopt.so.0.0.0) >==3632== by 0x10A8BC: main (smbtree.c:354) >==3632== Address 0x16085e00 is 640 bytes inside a block of size 784 free'd >==3632== at 0x4C2F1AD: free (vg_replace_malloc.c:530) >==3632== by 0x773E6F7: poptFreeContext (in /usr/lib64/libpopt.so.0.0.0) >==3632== by 0x10A84B: main (smbtree.c:342) >==3632== Block was alloc'd at >==3632== at 0x4C2FE45: calloc (vg_replace_malloc.c:711) >==3632== by 0x773C79A: poptGetContext (in /usr/lib64/libpopt.so.0.0.0) >==3632== by 0x10A829: main (smbtree.c:339) >==3632== > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14332 >Signed-off-by: Noel Power <npower@samba.org> >--- > source3/utils/smbtree.c | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/source3/utils/smbtree.c b/source3/utils/smbtree.c >index 8e4caf0e80b..626279a96fd 100644 >--- a/source3/utils/smbtree.c >+++ b/source3/utils/smbtree.c >@@ -339,7 +339,6 @@ int main(int argc, char *argv[]) > pc = poptGetContext("smbtree", argc, argv_const, long_options, > POPT_CONTEXT_KEEP_FIRST); > while(poptGetNextOpt(pc) != -1); >- poptFreeContext(pc); > popt_burn_cmdline_password(argc, argv); > > /* Now do our stuff */ >-- >2.16.4 >
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
Actions:
View
Attachments on
bug 14332
: 15886 |
15887