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 912894 Details for
Bug 1114088
crash --osrelease will spin chewing cpu on certain input files
[?]
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]
0001-Fix-infinite-loop-in-crash-osrelease-with-damaged-vm.patch
0001-Fix-infinite-loop-in-crash-osrelease-with-damaged-vm.patch (text/plain), 756 bytes, created by
Dave Wysochanski
on 2014-06-27 17:50:59 UTC
(
hide
)
Description:
0001-Fix-infinite-loop-in-crash-osrelease-with-damaged-vm.patch
Filename:
MIME Type:
Creator:
Dave Wysochanski
Created:
2014-06-27 17:50:59 UTC
Size:
756 bytes
patch
obsolete
>From e375e95d268bf192172255dc56236c36d2d25a37 Mon Sep 17 00:00:00 2001 >From: Dave Wysochanski <dwysocha@redhat.com> >Date: Fri, 27 Jun 2014 13:49:54 -0400 >Subject: [PATCH] Fix infinite loop in 'crash --osrelease' with damaged vmcore > >Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> >--- > diskdump.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/diskdump.c b/diskdump.c >index e230c1f..224ed4c 100644 >--- a/diskdump.c >+++ b/diskdump.c >@@ -618,7 +618,7 @@ restart: > len = bitmap_len; > while (len) { > bytes_read = read(dd->dfd, bufptr, len); >- if (bytes_read < 0) { >+ if (bytes_read <= 0) { > error(INFO, "%s: cannot read memory bitmap\n", > DISKDUMP_VALID() ? "diskdump" > : "compressed kdump"); >-- >1.8.3.1 >
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 1114088
: 912894