3 ms·
Given the history of vulnerabilities in tools like ImageMagick, that panic might still be a better position than an exploitable memory bug.
by technion 10y ago
Given the history of vulnerabilities in tools like ImageMagick, that panic might still be a better position than an exploitable memory bug.
- conradev 10y agoIf you run it in a spawned thread, the thread will actually just unwind and disappear if it panics (by default). But to detect panics, you can use `afl.rs` to fuzz a parser: https://github.com/frewsxcv/afl.rs#user-content-trophy-case https://github.com/frewsxcv/afl.rs#user-content-trophy-case
- EugeneOZ 10y agoGiven the fact you can avoid panic and exit safely, all panicking is just laziness ;)