graph.neighborhood crashes in R when a vertex with an invalid name is used as the seed

Bug #1087215 reported by Tamás Nepusz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
igraph
Fix Released
Critical
Gábor Csárdi

Bug Description

E.g.:

library(igraph)
g <- graph.famous("petersen")
graph.neighborhood(g, 1, "A")

 *** caught segfault ***
address 0x0xfffffffc0175b670, cause 'memory not mapped'

Related branches

description: updated
Changed in igraph:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 0.6.1
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote :

Fixed in revisions #3034 (0.6-main) and #3084 (0.7-main).

Changed in igraph:
status: Confirmed → Fix Committed
Changed in igraph:
status: Fix Committed → Fix Released
Revision history for this message
Gábor Csárdi (gabor.csardi) wrote : Continue on github

The development of igraph has moved to github, so please do not comment on this bug here. You are of course welcome to comment on github, here:
https://github.com/igraph/igraph/issues/15

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.