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 314241 Details for
Bug 458761
kernel: dlm: dlm/user.c input validation fixes [rhel-4.7.z]
[?]
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 try
rhel4-dlm-nul-term.patch (text/plain), 532 bytes, created by
David Teigland
on 2008-08-13 19:26:31 UTC
(
hide
)
Description:
patch to try
Filename:
MIME Type:
Creator:
David Teigland
Created:
2008-08-13 19:26:31 UTC
Size:
532 bytes
patch
obsolete
>diff --git a/dlm-kernel/src/device.c b/dlm-kernel/src/device.c >index 634a8f3..18e43db 100644 >--- a/dlm-kernel/src/device.c >+++ b/dlm-kernel/src/device.c >@@ -1121,9 +1121,10 @@ static ssize_t dlm_write(struct file *file, const char __user *buffer, > if (fi && test_bit(LS_FLAG_DELETED, &fi->fi_ls->ls_flags)) > return -ENOENT; > >- kparams = kmalloc(count, GFP_KERNEL); >+ kparams = kmalloc(count + 1, GFP_KERNEL); > if (!kparams) > return -ENOMEM; >+ memset(kparams, 0, count + 1); > > status = -EFAULT; > /* Get the command info */
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 458761
: 314241