fix #9048: safehuard to prevent arrayindexoutofbounds
fix #9048: safehuard to prevent arrayindexoutofbounds

auricgoldfinger/cgeo,tobiasge/cgeo,S-Bartfast/cgeo,tobiasge/cgeo,matej116/cgeo,rsudev/c-geo-opensource,rsudev/c-geo-opensource,S-Bartfast/cgeo,cgeo/cgeo,cgeo/cgeo,matej116/cgeo,cgeo/cgeo,auricgoldfinger/cgeo,matej116/cgeo,tobiasge/cgeo,auricgoldfinger/cgeo,S-Bartfast/cgeo,rsudev/c-geo-opensource,cgeo/cgeo