Menu

#13 fix call chain crash

open-fixed
None
5
2012-11-21
2012-05-15
No

There exists a bug that can cause the program to crash when attempting to use the "Call Chain" view on 64bit systems.

The "selected" pointer in an ht_treeview object is cast to a long and treated as an integer in ht_treeview::getdata(). This pointer is then cast back to a pointer in ht_aviewer::showCallChain(). This can cause the program to crash on systems where the size of the pointer is larger than 32bit.
This patch causes the data serialization of the ht_treeview to use the ht_treeview_data in a similar way to how the ht_listbox uses a structure to serialize its data.

Discussion

  • tecknicaltom

    tecknicaltom - 2012-05-15

    call chain crash patch

     
  • Sebastian Biallas

    Thanks, fixed in trunk (with a slightly different patch). Unfortunately I saw your patch too late for the last release. Will be fixed in next release.

     
  • Sebastian Biallas

    • assigned_to: nobody --> seppel
    • status: open --> open-fixed
     

Log in to post a comment.