Skip to content

CGraphBackend: fix a segfault when given a non-existing vertex #22371

@jdemeyer

Description

@jdemeyer
sage: graphs.KrackhardtKiteGraph().eccentricity("a")
------------------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred.
This probably occurred because a *compiled* module has a bug
in it and is not properly wrapped with sig_on(), sig_off().
Python will now terminate.
------------------------------------------------------------------------

CC: @mezzarobba

Component: graph theory

Author: Marc Mezzarobba

Branch/Commit: fd58651

Reviewer: Jeroen Demeyer

Issue created by migration from https://trac.sagemath.org/ticket/22371

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions