Closed NigelX closed 3 years ago
Why are you submitting maliciously crafted image files? What are you trying to accomplish?
This is not a bug, it's working as intended. DIPlib does not limit the size of an image created. If there's not enough memory, the allocator fails and throws an exception. The application can choose to catch the exception and handle it, or just terminate.
Hi
I found an crash erro.
System info: Ubuntu 20.04 : clang 10.0.0 , gcc 9.3.0
DIPliB Release v3.0.0
commit:7db848500f4cc5db676b32e9a95dcbc94d976339
[poc3.zip](https://github.com/DIPlib/diplib/files/6966711/poc3.zip)
(edit: careful with this, looks malicious)Verification steps: 1.Get the source code of DIPliB 2.Compile the DIPliB and poc.c
3.run poc
asan info
Thank you, Product Security