diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch')
-rw-r--r-- | meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch b/meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch new file mode 100644 index 000000000..a1b05b8c9 --- /dev/null +++ b/meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 0aab8ae3c137e5900d22160555bcef57cd62ca21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andreas Schneider <asn@samba.org> | ||
3 | Date: Wed, 17 Sep 2014 15:17:50 +0200 | ||
4 | Subject: [PATCH 2/2] libcli: Fix a segfault calling smbXcli_req_set_pending() | ||
5 | on NULL. | ||
6 | |||
7 | BUG: https://bugzilla.samba.org/show_bug.cgi?id=10817 | ||
8 | |||
9 | Signed-off-by: Andreas Schneider <asn@samba.org> | ||
10 | Reviewed-by: Jeremy Allison <jra@samba.org> | ||
11 | |||
12 | Autobuild-User(master): Jeremy Allison <jra@samba.org> | ||
13 | Autobuild-Date(master): Tue Sep 23 04:23:05 CEST 2014 on sn-devel-104 | ||
14 | |||
15 | (cherry picked from commit f92086f4a347dcc8fa948aa2614a2c12f1115e5a) | ||
16 | Signed-off-by: Andreas Schneider <asn@samba.org> | ||
17 | --- | ||
18 | libcli/smb/smb1cli_echo.c | 1 - | ||
19 | 1 file changed, 1 deletion(-) | ||
20 | |||
21 | diff --git a/libcli/smb/smb1cli_echo.c b/libcli/smb/smb1cli_echo.c | ||
22 | index 4fb7c60..10dff2d 100644 | ||
23 | --- a/libcli/smb/smb1cli_echo.c | ||
24 | +++ b/libcli/smb/smb1cli_echo.c | ||
25 | @@ -96,7 +96,6 @@ static void smb1cli_echo_done(struct tevent_req *subreq) | ||
26 | NULL, /* pbytes_offset */ | ||
27 | NULL, /* pinbuf */ | ||
28 | expected, ARRAY_SIZE(expected)); | ||
29 | - TALLOC_FREE(subreq); | ||
30 | if (!NT_STATUS_IS_OK(status)) { | ||
31 | tevent_req_nterror(req, status); | ||
32 | return; | ||
33 | -- | ||
34 | 2.1.0 | ||
35 | |||