mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Chris Wright <chrisw@sous-sol.org>
To: linux-kernel@vger.kernel.org, stable@kernel.org
Cc: torvalds@osdl.org
Subject: Re: Linux 2.6.16.14
Date: Thu, 4 May 2006 17:42:44 -0700	[thread overview]
Message-ID: <20060505004244.GX24291@moss.sous-sol.org> (raw)
In-Reply-To: <20060505003526.GW24291@moss.sous-sol.org>

diff --git a/Makefile b/Makefile
index d4cc824..3c03fb9 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 16
-EXTRAVERSION = .13
+EXTRAVERSION = .14
 NAME=Sliding Snow Leopard
 
 # *DOCUMENTATION*
diff --git a/fs/smbfs/dir.c b/fs/smbfs/dir.c
index 0424d06..45862ec 100644
--- a/fs/smbfs/dir.c
+++ b/fs/smbfs/dir.c
@@ -434,6 +434,11 @@ smb_lookup(struct inode *dir, struct den
 	if (dentry->d_name.len > SMB_MAXNAMELEN)
 		goto out;
 
+	/* Do not allow lookup of names with backslashes in */
+	error = -EINVAL;
+	if (memchr(dentry->d_name.name, '\\', dentry->d_name.len))
+		goto out;
+
 	lock_kernel();
 	error = smb_proc_getattr(dentry, &finfo);
 #ifdef SMBFS_PARANOIA

  reply	other threads:[~2006-05-05  0:39 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-05  0:35 Chris Wright
2006-05-05  0:42 ` Chris Wright [this message]
2006-05-05  1:52 ` Nigel Cunningham
2006-05-05  2:20   ` Ioan Ionita
2006-05-05  2:33   ` Chris Wright
2006-05-05  2:47     ` Alistair John Strachan
2006-05-08 19:02       ` Bill Davidsen
2006-05-09 19:18         ` [stable] " Chris Wright
2006-05-05  3:03     ` Nigel Cunningham
2006-05-05  3:18       ` Ioan Ionita
2006-05-05  3:42         ` Patrick McFarland
2006-05-05  3:25       ` Chris Wright
2006-05-05  3:33         ` CaT
2006-05-05  5:10           ` [stable] " Greg KH
2006-05-05  4:50       ` Willy Tarreau
2006-05-05  5:02         ` Nigel Cunningham
2006-05-05  5:20           ` Willy Tarreau
2006-05-05 13:29 ` Josh Boyer
2006-05-05 17:40   ` Chris Wright

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060505004244.GX24291@moss.sous-sol.org \
    --to=chrisw@sous-sol.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome