SAnsell / CombLayer

MCNP(X) project builder using C++
GNU General Public License v3.0
13 stars 13 forks source link

Fixed some undefined behaviors #140

Closed lkurakht closed 2 years ago

lkurakht commented 2 years ago

Fixed some undefined behaviors for bool flag initialisation, integer overflow in multiplication image

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

SAnsell commented 2 years ago

Many thanks for fixing these little things... The revFlag bug is the kind of undefined behaviour that is a nightmare to find! Thanks!