Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 565723 Details for
Bug 785934
Buffer overflow in pstree
Home
New
Search
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.rh92 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]
proposal patch
psmisc-22.15-buf-overflow.patch (text/plain), 612 bytes, created by
Mamoru TASAKA
on 2012-02-25 06:40:29 UTC
(
hide
)
Description:
proposal patch
Filename:
MIME Type:
Creator:
Mamoru TASAKA
Created:
2012-02-25 06:40:29 UTC
Size:
612 bytes
patch
obsolete
>--- psmisc-22.15/src/pstree.c.bufov 2012-01-25 19:52:09.000000000 +0900 >+++ psmisc-22.15/src/pstree.c 2012-02-25 15:35:34.000000000 +0900 >@@ -264,7 +264,7 @@ > perror("malloc"); > exit(1); > } >- strcpy(new->comm, comm); >+ strncpy(new->comm, comm, COMM_LEN + 1); > new->pid = pid; > new->uid = uid; > new->flags = 0; >@@ -352,7 +352,7 @@ > this = new_proc(comm, pid, uid); > #endif /*WITH_SELINUX */ > else { >- strcpy(this->comm, comm); >+ strncpy(this->comm, comm, COMM_LEN + 1); > this->uid = uid; > } > if (args)
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 785934
: 565723 |
571239