-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leaks #340
Comments
It also detected Calling extractall to extract all files from a tar file without sanitization. This may result files outside destination directory to be overwritten, resulting in an arbitrary file write. opengate/core/opengate_core/g4DataSetup.py Line 104 in fcaae6d
|
Thanks for reporting. That's helpful. |
By the way: Do you mind sharing the commands you used to do the code analysis? I am honestly not familiar with Snyk. Thanks a bunch. |
Create a free account in https://snyk.io/ using your GitHub account. |
Awsome! Thank you very much, Alex! |
I ran a Snyk code analysis, and it detected these problems:
Leaking memory. GateRandomMultiGauss is allocated on the heap and never freed
opengate/core/opengate_core/opengate_lib/GateSingleParticleSourcePencilBeam.h
Line 51 in fcaae6d
Leaking memory. G4AffineTransform is allocated on the heap and never freed
opengate/core/opengate_core/opengate_lib/GateUniqueVolumeID.cpp
Line 120 in fcaae6d
The text was updated successfully, but these errors were encountered: