andy-z / ged4py

GEDCOM tools for Python
MIT License
18 stars 7 forks source link

Fix crash in `sub_tag()` with broken files. #35

Closed andy-z closed 3 years ago

andy-z commented 3 years ago

Crash happens when pointer record has no referenced record in the file, either because file is corrupted or messed up in some way. Add protection for such cases.