Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 240281 Details for
Bug 355141
pull upstream patches for smbfs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch 1
0011-BZ-355141-fs-smbfs-proc.c-fix-data-corruption-in-s.patch (text/plain), 1.11 KB, created by
Jeff Layton
on 2007-10-27 11:47:52 UTC
(
hide
)
Description:
patch 1
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-10-27 11:47:52 UTC
Size:
1.11 KB
patch
obsolete
>From 7668c59860cd6e93936be4dc6cd0d0226f48a946 Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Sat, 27 Oct 2007 07:04:29 -0400 >Subject: [PATCH] BZ#355141: fs/smbfs/proc.c: fix data corruption in smb_proc_setattr_unix() > >This patch fixes a data corruption in smb_proc_setattr_unix() >(smb_filetype_from_mode() returns an u32, and there are only four bytes >reserved for it in data. > >Signed-off-by: Adrian Bunk <bunk@stusta.de> >Signed-off-by: Andrew Morton <akpm@osdl.org> >Signed-off-by: Linus Torvalds <torvalds@osdl.org> >--- > fs/smbfs/proc.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/fs/smbfs/proc.c b/fs/smbfs/proc.c >index 4df0c1d..79acb5c 100644 >--- a/fs/smbfs/proc.c >+++ b/fs/smbfs/proc.c >@@ -3112,7 +3112,7 @@ smb_proc_setattr_unix(struct dentry *d, struct iattr *attr, > LSET(data, 32, SMB_TIME_NO_CHANGE); > LSET(data, 40, SMB_UID_NO_CHANGE); > LSET(data, 48, SMB_GID_NO_CHANGE); >- LSET(data, 56, smb_filetype_from_mode(attr->ia_mode)); >+ DSET(data, 56, smb_filetype_from_mode(attr->ia_mode)); > LSET(data, 60, major); > LSET(data, 68, minor); > LSET(data, 76, 0); >-- >1.5.2.1 >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 355141
: 240281 |
240291
|
240301
|
240311
|
240321
|
240331
|
240341
|
271431