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 301812 Details for
Bug 441686
acpid leaks fds
[?]
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]
close fd
acpid-1.0.4-fileleak.patch (text/plain), 818 bytes, created by
ritz
on 2008-04-09 14:21:30 UTC
(
hide
)
Description:
close fd
Filename:
MIME Type:
Creator:
ritz
Created:
2008-04-09 14:21:30 UTC
Size:
818 bytes
patch
obsolete
>--- event.c 2004-02-03 08:08:52.000000000 +0530 >+++ /root/event.c 2008-04-10 16:08:15.000000000 +0530 >@@ -302,6 +302,7 @@ > acpid_log("DBG: skipping incomplete file %s\n", file); > } > free_rule(r); >+ fclose(fp); > return NULL; > } > fclose(fp); >@@ -589,6 +590,8 @@ > /* closed */ > acpid_log("client has disconnected\n"); > delist_rule(&client_list, rule); >+ close(rule->action.fd); >+ free_rule(rule); > return -1; > } > safe_write(client, "\n", 1); >--- acpid.c 2008-04-10 16:09:11.000000000 +0530 >+++ /root/acpid.c 2008-04-10 16:08:25.000000000 +0530 >@@ -209,6 +209,7 @@ > acpid_log("completed event \"%s\"\n", event); > } else if (errno == EPIPE) { > acpid_log("events file connection closed\n"); >+ close(event_fd); > break; > } else { > static int nerrs;
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 441686
: 301812