Bug 2896 - 64 bit issue in elfutils/libdwfl/dwfl_module.c
Summary: 64 bit issue in elfutils/libdwfl/dwfl_module.c
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Tim Moore
URL:
Keywords:
Depends on:
Blocks: frysk-elfutils
  Show dependency treegraph
 
Reported: 2006-07-10 14:39 UTC by Tim Moore
Modified: 2009-02-25 09:52 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Moore 2006-07-10 14:39:08 UTC
compare_modules in dwfl_module.c returns the result of a 64 bit subtraction.
However, compare_modules is the compare function for qsort and can only return
an int. Thus the high-order bits can get chopped and the comparison can be wrong.
Comment 1 Tim Moore 2006-07-10 14:41:05 UTC
Fixed in frysk tree in dwfl_module.c 1.2
Comment 2 Mark Wielaard 2009-02-25 09:52:00 UTC
*** Bug 9898 has been marked as a duplicate of this bug. ***