The Samba-Bugzilla – Attachment 6746 Details for
Bug 8341
libsmbclient segfault when feed the root of a mounted share via an uri
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git-am version of the patch for 3.6.0.
0001-Fix-bug-8341-libsmbclient-segfault-when-feed-the-roo.patch (text/plain), 1.08 KB, created by
Jeremy Allison
on 2011-08-02 00:01:27 UTC
(
hide
)
Description:
git-am version of the patch for 3.6.0.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2011-08-02 00:01:27 UTC
Size:
1.08 KB
patch
obsolete
>From 1dad1e0115f2db1492c9133e5ca55ab2c688543c Mon Sep 17 00:00:00 2001 >From: Alban Browaeys <prahal@yahoo.com> >Date: Mon, 1 Aug 2011 16:40:22 -0700 >Subject: [PATCH] Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share via an uri > >Fix null deref. >(cherry picked from commit cf0c36ab9a5129878b92a52d22aa814eaa737a4c) >--- > source3/libsmb/clifsinfo.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/source3/libsmb/clifsinfo.c b/source3/libsmb/clifsinfo.c >index 94568c9..95973bb 100644 >--- a/source3/libsmb/clifsinfo.c >+++ b/source3/libsmb/clifsinfo.c >@@ -472,6 +472,7 @@ NTSTATUS cli_get_posix_fs_info(struct cli_state *cli, > uint16 setup[1]; > uint8_t param[2]; > uint8_t *rdata = NULL; >+ uint32_t rdata_count; > NTSTATUS status; > > SSVAL(setup, 0, TRANSACT2_QFSINFO); >@@ -484,7 +485,7 @@ NTSTATUS cli_get_posix_fs_info(struct cli_state *cli, > NULL, > NULL, 0, NULL, /* rsetup */ > NULL, 0, NULL, /* rparam */ >- &rdata, 56, NULL); >+ &rdata, 56, &rdata_count); > if (!NT_STATUS_IS_OK(status)) { > return status; > } >-- >1.7.0.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
Flags:
vl
:
review+
metze
:
review+
Actions:
View
Attachments on
bug 8341
:
6745
| 6746