summaryrefslogtreecommitdiff
path: root/package/network/services/samba36/patches/010-patch-cve-2015-5252.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-04-16 20:06:34 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2016-04-16 20:06:34 +0000
commit1414f1647d435a7eda48d9433a022286a46d9097 (patch)
tree633f8ca00f7284130188a3f6e8e65025009f9ff2 /package/network/services/samba36/patches/010-patch-cve-2015-5252.patch
parent894aed060ee15dafea19d94157adddf38ff8e2e7 (diff)
downloadmtk-20170518-1414f1647d435a7eda48d9433a022286a46d9097.zip
mtk-20170518-1414f1647d435a7eda48d9433a022286a46d9097.tar.gz
mtk-20170518-1414f1647d435a7eda48d9433a022286a46d9097.tar.bz2
samba: fix some security problems
This fixes the following security problems: * CVE-2015-7560 * CVE-2015-5370 * CVE-2016-2110 * CVE-2016-2111 * CVE-2016-2112 * CVE-2016-2115 * CVE-2016-2118 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49175
Diffstat (limited to 'package/network/services/samba36/patches/010-patch-cve-2015-5252.patch')
-rw-r--r--package/network/services/samba36/patches/010-patch-cve-2015-5252.patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/network/services/samba36/patches/010-patch-cve-2015-5252.patch b/package/network/services/samba36/patches/010-patch-cve-2015-5252.patch
index 8922a6e..3640907 100644
--- a/package/network/services/samba36/patches/010-patch-cve-2015-5252.patch
+++ b/package/network/services/samba36/patches/010-patch-cve-2015-5252.patch
@@ -14,11 +14,9 @@ Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/vfs.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
-diff --git a/source3/smbd/vfs.c b/source3/smbd/vfs.c
-index 6c56964..bd93b7f 100644
--- a/source3/smbd/vfs.c
+++ b/source3/smbd/vfs.c
-@@ -982,6 +982,7 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname)
+@@ -982,6 +982,7 @@ NTSTATUS check_reduced_name(connection_s
if (!allow_widelinks || !allow_symlinks) {
const char *conn_rootdir;
size_t rootdir_len;
@@ -26,7 +24,7 @@ index 6c56964..bd93b7f 100644
conn_rootdir = SMB_VFS_CONNECTPATH(conn, fname);
if (conn_rootdir == NULL) {
-@@ -992,8 +993,10 @@ NTSTATUS check_reduced_name(connection_struct *conn, const char *fname)
+@@ -992,8 +993,10 @@ NTSTATUS check_reduced_name(connection_s
}
rootdir_len = strlen(conn_rootdir);
@@ -39,5 +37,3 @@ index 6c56964..bd93b7f 100644
DEBUG(2, ("check_reduced_name: Bad access "
"attempt: %s is a symlink outside the "
"share path\n", fname));
---
-2.5.0