[Evolution-hackers] [patch] segfault in gal_a11y_e_cell_popup_new



Just had a segfault in gal_a11y_e_cell_popup_new. Turned out that
the cast
	popupcell=  E_CELL_POPUP (cell_view->ecell);

would turn up a broken pointer, crashing afterward. I inserted the following
on my side:

	ECellPopup *popupcell = NULL;
	ECellView* child_view = NULL;

	if (E_IS_CELL_POPUP(cell_view->ecell)) {
		popupcell = E_CELL_POPUP(cell_view->ecell);
	}

Looked up the master code in the git browser and saw that this code is still the same.
No check.

 
-- 
thomas




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]