Ticket #125 (closed defect: fixed)
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
Change History
Note: See
TracTickets for help on using
tickets.
