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 308663 Details for
Bug 450474
segfault in dm_hash_iter()
[?]
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]
needed fix
dm-fix-segfault.patch (text/plain), 960 bytes, created by
Milan Broz
on 2008-06-08 23:39:09 UTC
(
hide
)
Description:
needed fix
Filename:
MIME Type:
Creator:
Milan Broz
Created:
2008-06-08 23:39:09 UTC
Size:
960 bytes
patch
obsolete
>--- device-mapper.1.02.25.old/lib/datastruct/hash.c 2007-08-21 18:26:06.000000000 +0200 >+++ device-mapper.1.02.25/lib/datastruct/hash.c 2008-06-09 01:23:41.000000000 +0200 >@@ -215,12 +215,14 @@ unsigned dm_hash_get_num_entries(struct > > void dm_hash_iter(struct dm_hash_table *t, dm_hash_iterate_fn f) > { >- struct dm_hash_node *c; >+ struct dm_hash_node *c, *n; > unsigned i; > > for (i = 0; i < t->num_slots; i++) >- for (c = t->slots[i]; c; c = c->next) >+ for (c = t->slots[i]; c; c = n) { >+ n = c->next; > f(c->data); >+ } > } > > void dm_hash_wipe(struct dm_hash_table *t) >--- device-mapper.1.02.25.old/WHATS_NEW 2008-04-10 20:00:45.000000000 +0200 >+++ device-mapper.1.02.25/WHATS_NEW 2008-06-09 01:23:55.000000000 +0200 >@@ -1,3 +1,7 @@ >+Version 1.02.26 - >+================================= >+ Make dm_hash_iter safe against deletion. >+ > Version 1.02.25 - 10th April 2008 > ================================= > Remove redundant if-before-free tests.
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 450474
: 308663