freebsd-ports/net/samba44/files/patch-source3__smbd__close.c
Timur I. Bakeyev 6980d56b3a * Upgrade net/samba43 and net/samba44 to address multiple vulnerabilities
* Switch port to use net/openldap24-sasl-client as some authorization methods don't work with plain openldap24-client.
* Changed namespace used by vfs_fruit to be compatiable with net/netatalk3.
* Removed old DNS crypto patch, as it SEEMS it was superseded by recent code changes. Please, notify me if you see that internal DNS
doesn't handle signed requests properly anymore.

Security:	CVE-2016-2123
		CVE-2016-2125
		CVE-2016-2126
2016-12-28 02:51:57 +00:00

11 lines
404 B
C

--- source3/smbd/close.c.orig 2016-12-25 13:09:22.100676000 +0000
+++ source3/smbd/close.c 2016-12-25 13:09:59.877256000 +0000
@@ -168,7 +168,7 @@
unsigned int num_streams = 0;
TALLOC_CTX *frame = talloc_stackframe();
NTSTATUS status;
- bool saved_posix_pathnames;
+ bool saved_posix_pathnames = false;
status = vfs_streaminfo(conn, NULL, fname, talloc_tos(),
&num_streams, &stream_info);