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 687737 Details for
Bug 903804
libdwarf Segmentation fault on incomplete location
[?]
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 pass correct offset_size
0001-Pass-the-correct-offset_size-value-to-_dwarf_get_loc.patch (text/plain), 1.99 KB, created by
Tom Hughes
on 2013-01-25 22:39:47 UTC
(
hide
)
Description:
Patch to pass correct offset_size
Filename:
MIME Type:
Creator:
Tom Hughes
Created:
2013-01-25 22:39:47 UTC
Size:
1.99 KB
patch
obsolete
>From 67610e5a58fadca9dcb4273abb08b63a66196e8d Mon Sep 17 00:00:00 2001 >From: Tom Hughes <tom@compton.nu> >Date: Fri, 25 Jan 2013 11:34:02 +0000 >Subject: [PATCH 1/2] Pass the correct offset_size value to _dwarf_get_locdesc > >--- > libdwarf/dwarf_loc.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/libdwarf/dwarf_loc.c b/libdwarf/dwarf_loc.c >index 28b66d6..21a613f 100644 >--- a/libdwarf/dwarf_loc.c >+++ b/libdwarf/dwarf_loc.c >@@ -968,7 +968,7 @@ dwarf_loclist_n(Dwarf_Attribute attr, > } > locdesc = _dwarf_get_locdesc(dbg, &loc_block, > address_size, >- cucontext->cc_length, >+ cucontext->cc_length_size, > cucontext->cc_version_stamp, > lowpc, highpc, > error); >@@ -1007,7 +1007,7 @@ dwarf_loclist_n(Dwarf_Attribute attr, > error, and we don't test for block length 0 specially here. */ > locdesc = _dwarf_get_locdesc(dbg, &loc_block, > address_size, >- cucontext->cc_length, >+ cucontext->cc_length_size, > cucontext->cc_version_stamp, > lowpc, highpc, > error); >@@ -1130,7 +1130,7 @@ dwarf_loclist(Dwarf_Attribute attr, > handles only a single location expression. */ > locdesc = _dwarf_get_locdesc(dbg, &loc_block, > address_size, >- cucontext->cc_length, >+ cucontext->cc_length_size, > cucontext->cc_version_stamp, > lowpc, highpc, > error); >@@ -1207,7 +1207,7 @@ dwarf_loclist_from_expr_a(Dwarf_Debug dbg, > For correctness, use dwarf_loclist_from_expr_b() > instead of dwarf_loclist_from_expr_a(). */ > version_stamp = current_cu_context->cc_version_stamp; >- offset_size = current_cu_context->cc_length; >+ offset_size = current_cu_context->cc_length_size; > if (version_stamp < 2) { > /* This is probably totally silly. */ > version_stamp = CURRENT_VERSION_STAMP; >-- >1.8.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 903804
: 687737 |
687738