Ticket #125 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

elfsh_register_* assumes that sizeof(int) == sizeofvoid *)

Reported by: Trundle Owned by: thorkill
Priority: major Milestone: v0.81
Component: libelfsh Version:
Severity: Medium Keywords:
Cc:

Description

The various elfsh_register_* functions cast a pointer to an int, but on amd64 sizeof(int) < sizeof(void *) so this will break.

The attached patch corrects the casts.

Attachments

eresi_vectos_amd64.patch (1.5 kB) - added by Trundle 10 months ago.
Patch which corrects the casts

Change History

Changed 10 months ago by Trundle

Patch which corrects the casts

Changed 9 months ago by thorkill

  • owner set to thorkill
  • status changed from new to assigned

Changed 9 months ago by thorkill

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.