AIDASoft / podio

PODIO
GNU General Public License v3.0
24 stars 60 forks source link

Add two checks not to crash when a file doesn't exist or can't be opened #666

Closed jmcarcell closed 1 month ago

jmcarcell commented 1 month ago

BEGINRELEASENOTES

ENDRELEASENOTES

jmcarcell commented 1 month ago

Yes, right now it crashes if the file doesn't exist because file is a nullptr. When there are N files only the first one is checked with this, the rest will be checked by the respective reader.