stacktrace mentions that the pointer argument passed to ect_check() was 
optimised out
Looking at the code, would this mean that gaec == null, hence a null pointer 
dereference?

I'm not really a developer
but I know enough C to be dangerous :-)
anyway,

static gboolean
ect_check (gpointer a11y)
{
    GalA11yECell *gaec = GAL_A11Y_E_CELL (a11y);
    ETableItem *item = gaec->item;

    g_return_val_if_fail ((gaec->item != NULL), FALSE);
    g_return_val_if_fail ((gaec->cell_view != NULL), FALSE);
    g_return_val_if_fail ((gaec->cell_view->ecell != NULL), FALSE);

    if (atk_state_set_contains_state (gaec->state_set, ATK_STATE_DEFUNCT))
        return FALSE;

    if (gaec->row < 0 || gaec->row >= item->rows
        || gaec->view_col <0 || gaec->view_col >= item->cols
        || gaec->model_col <0 || gaec->model_col >= e_table_model_column_count 
(item->table_model))
        return FALSE;

    if (!E_IS_CELL_TEXT (gaec->cell_view->ecell))
        return FALSE;

-- 
evolution SIGSEGV in ect_check()
https://bugs.launchpad.net/bugs/624096
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to