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 240311 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 4
0014-BZ-355141-smbfs-names_cache-memory-leak.patch (text/plain), 1.24 KB, created by
Jeff Layton
on 2007-10-27 11:49:09 UTC
(
hide
)
Description:
patch 4
Filename:
MIME Type:
Creator:
Jeff Layton
Created:
2007-10-27 11:49:09 UTC
Size:
1.24 KB
patch
obsolete
>From e543573c3dc45fbdf9ff7d25015aa30d1e30f990 Mon Sep 17 00:00:00 2001 >From: Jeff Layton <jlayton@redhat.com> >Date: Sat, 27 Oct 2007 07:05:41 -0400 >Subject: [PATCH] BZ#355141: smbfs: 'names_cache' memory leak > >Data allocated with "__getname()" should always be free'd with "__putname()" >because of the AUDITSYSCALL code. > >Signed-off-by: Davi Arnaut <davi.arnaut@gmail.com> >Cc: Urban Widmark <urban@teststation.com> >Signed-off-by: Andrew Morton <akpm@osdl.org> >Signed-off-by: Linus Torvalds <torvalds@osdl.org> >--- > fs/smbfs/symlink.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/fs/smbfs/symlink.c b/fs/smbfs/symlink.c >index 8b069e0..5eec624 100644 >--- a/fs/smbfs/symlink.c >+++ b/fs/smbfs/symlink.c >@@ -45,7 +45,7 @@ static int smb_follow_link(struct dentry *dentry, struct nameidata *nd) > int len = smb_proc_read_link(server_from_dentry(dentry), > dentry, link, PATH_MAX - 1); > if (len < 0) { >- putname(link); >+ __putname(link); > link = ERR_PTR(len); > } else { > link[len] = 0; >@@ -59,7 +59,7 @@ static void smb_put_link(struct dentry *dentry, struct nameidata *nd) > { > char *s = nd_get_link(nd); > if (!IS_ERR(s)) >- putname(s); >+ __putname(s); > } > > struct inode_operations smb_link_inode_operations = >-- >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