| Summary: | G4PhysicsTable::insertAt() tries to insert on empty vectors | ||
|---|---|---|---|
| Product: | Bugzilla | Reporter: | Akimoto Daichi <deltalphan> |
| Component: | general | Assignee: | asai |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | asai |
| Priority: | P4 | ||
| Version: | other | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Akimoto Daichi
2019-08-01 08:31:54 CEST
Michael Kelsey gave me a comment on this. https://geant4-forum.web.cern.ch/t/how-can-i-use-g4physicstable-insertat/635/2 Thank you for reporting this. The further communication on the related Forum topic https://geant4-forum.web.cern.ch/t/how-can-i-use-g4physicstable-insertat/635 showed the protection in insertAt() against idx > entries() is required. This fix will be included in the next patch release. |