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 295505 Details for
Bug 433784
aliasing violation causes dumpe2fs segfaults in ia64.
[?]
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]
patch to workaround gcc inline bug
badblocks-workaround-gcc-inline-bug.patch (text/plain), 745 bytes, created by
Flavio Leitner
on 2008-02-21 14:00:52 UTC
(
hide
)
Description:
patch to workaround gcc inline bug
Filename:
MIME Type:
Creator:
Flavio Leitner
Created:
2008-02-21 14:00:52 UTC
Size:
745 bytes
patch
obsolete
>Index: e2fsprogs-1.35/lib/ext2fs/badblocks.c >=================================================================== >--- e2fsprogs-1.35.orig/lib/ext2fs/badblocks.c >+++ e2fsprogs-1.35/lib/ext2fs/badblocks.c >@@ -42,10 +42,13 @@ static errcode_t make_u32_list(int size, > bb->magic = EXT2_ET_MAGIC_BADBLOCKS_LIST; > bb->size = size ? size : 10; > bb->num = num; >- retval = ext2fs_get_array(bb->size, sizeof(blk_t), &bb->list); >+ /* gcc inline bug causes segfault in ia64 >+ * retval = ext2fs_get_mem(bb->size * sizeof(blk_t), &bb->list); >+ */ >+ bb->list = malloc(bb->size * sizeof(blk_t)); > if (!bb->list) { > ext2fs_free_mem(&bb); >- return retval; >+ return EXT2_ET_NO_MEMORY;; > } > if (list) > memcpy(bb->list, list, bb->size * sizeof(blk_t));
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 433784
:
295505
|
295548