frizbog / gedcom4j

Java library for reading/writing genealogy files in GEDCOM format
http://gedcom4j.org
54 stars 36 forks source link

Individual.getDescendants() and Individual.getAncestors() susceptible to stack overflow errors if cyclical relationships are present #115

Closed frizbog closed 8 years ago

frizbog commented 8 years ago

If a GEDCOM file accidentally contains cyclical relationships where a child is loaded as an ancestor of himself (for whatever reason), the getDescendants() and getAncestors() methods on Individual run into a StackOverflowError.

frizbog commented 8 years ago

Fixed in v3.0.1-SNAPSHOT

frizbog commented 8 years ago

Released in v3.0.1