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 883889 Details for
Bug 1083744
autofs can ghost non-existent map entries given the right timing
[?]
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 - fix use cache entry after free mistake
autofs-5.0.7-fix-use-cache-entry-after-free-mistake.patch (text/plain), 1.29 KB, created by
Ian Kent
on 2014-04-08 06:15:41 UTC
(
hide
)
Description:
Patch - fix use cache entry after free mistake
Filename:
MIME Type:
Creator:
Ian Kent
Created:
2014-04-08 06:15:41 UTC
Size:
1.29 KB
patch
obsolete
>autofs-5.0.7 - fix use cache entry after free mistake > >From: Ian Kent <ikent@redhat.com> > >Fix an obvious use after free mistake in lookup_prune_one_cache(). >--- > > CHANGELOG | 1 + > daemon/lookup.c | 7 +++++-- > 2 files changed, 6 insertions(+), 2 deletions(-) > > >--- autofs-5.0.5.orig/CHANGELOG >+++ autofs-5.0.5/CHANGELOG >@@ -148,6 +148,7 @@ > - fix ipv6 link local address handling. > - fix deadlock in init_ldap_connection. > - extend fix for crash due to thread unsafe use of libldap. >+- fix use cache entry after free in lookup_prune_one_cache(). > > 03/09/2009 autofs-5.0.5 > ----------------------- >--- autofs-5.0.5.orig/daemon/lookup.c >+++ autofs-5.0.5/daemon/lookup.c >@@ -1094,15 +1094,18 @@ void lookup_prune_one_cache(struct autof > if (valid) > cache_delete(mc, key); > else if (!is_mounted(_PROC_MOUNTS, path, MNTS_AUTOFS)) { >+ dev_t devid = ap->dev; > status = CHE_FAIL; >+ if (ap->type == LKP_DIRECT) >+ devid = this->dev; > if (this->ioctlfd == -1) > status = cache_delete(mc, key); > if (status != CHE_FAIL) { > if (ap->type == LKP_INDIRECT) { > if (ap->flags & MOUNT_FLAG_GHOST) >- rmdir_path(ap, path, ap->dev); >+ rmdir_path(ap, path, devid); > } else >- rmdir_path(ap, path, this->dev); >+ rmdir_path(ap, path, devid); > } > } > cache_unlock(mc);
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 1083744
:
882008
|
882079
| 883889 |
883890
|
883929
|
889191
|
893513