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 1480181 Details for
Bug 1624542
Fix use-after-free in rpc.statd monitor list when insertion fails for existing entry
[?]
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 to fix statd use-after-free
statd_monitor.patch (text/plain), 821 bytes, created by
Frank Sorenson
on 2018-09-01 05:12:44 UTC
(
hide
)
Description:
patch to fix statd use-after-free
Filename:
MIME Type:
Creator:
Frank Sorenson
Created:
2018-09-01 05:12:44 UTC
Size:
821 bytes
patch
obsolete
>Author: Frank Sorenson <sorenson@redhat.com> >Date: 2018-08-31 23:42:37 -0500 > > statd: fix use-after-free in monitor list if insertion fails > > If nsm_insert_monitored_host() fails while saving the record > to stable storage, we can't just assume the entry was new. Existing > records must be removed from the list before being freed. > > Signed-off-by: Frank Sorenson <sorenson@redhat.com> > >diff --git a/utils/statd/monitor.c b/utils/statd/monitor.c >index 45c4346..9400048 100644 >--- a/utils/statd/monitor.c >+++ b/utils/statd/monitor.c >@@ -197,7 +197,7 @@ sm_mon_1_svc(struct mon *argp, struct svc_req *rqstp) > > if (!nsm_insert_monitored_host(dnsname, > (struct sockaddr *)(char *)&my_addr, argp)) { >- nlist_free(NULL, clnt); >+ nlist_free(existing ? &rtnl : NULL, clnt); > goto failure; > } >
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 Raw
Actions:
View
Attachments on
bug 1624542
: 1480181 |
1480593