Problem 643

Summary: Missing protection in G4AtomicShells::GetNumberOfShells
Product: Geant4 Reporter: jpmeyer
Component: materialsAssignee: Michel.Maire
Status: RESOLVED FIXED    
Severity: trivial    
Priority: P2    
Version: 6.2   
Hardware: PC   
OS: Linux   

Description jpmeyer 2004-07-09 05:00:56 CEST
There is a trivial missing protection in G4AtomicShells::GetNumberOfShells
checking that the Z do not exceed 101 which is "nicely" hardcoded at sereal
places in G4AtomicShells.cc . If one try to enter with elements of Zeff above
101 one get a core dumped which is not so nice.
Comment 1 Michel.Maire 2004-07-19 04:59:59 CEST
ok, will do