Please unblock treeviewx
Dear release team,
The latest update of treeviewx fixes a segfault bug found in Ubuntu and
confirmed by myself in Debian.
https://launchpad.net/ubuntu/+source/treeviewx/+bug/75137
http://patches.ubuntu.com/t/treeviewx/treeviewx_0.5.1-2ubuntu1.patch
The changes to the source correspond to the following patch, applied via
dpatch. Treeviewx was already using dpatch in the previous version.
diff -urNad treeviewx-0.5.1~/tview.cpp treeviewx-0.5.1/tview.cpp
--- treeviewx-0.5.1~/tview.cpp 2006-12-17 10:33:21.000000000 +1100
+++ treeviewx-0.5.1/tview.cpp 2006-12-17 10:33:53.000000000 +1100
@@ -742,7 +742,7 @@
dialog.SetSelection(p.GetCurrentTreeNumber());
- if (dialog.ShowModal() == wxID_OK)
+ if ((dialog.ShowModal() == wxID_OK) && (p.GetNumTrees() != 0))
{
int j = dialog.GetSelection ();
#ifdef __WXMAC__
Have a nice day,
--
Charles Plessy
http://charles.plessy.org
Wako, Saitama, Japan
Reply to: