4 ms·
Do you know if sudo uses negative tests for their CVE fixes? If they are written in such a way that they are portable (i.e. execute sudo, send mangled data, in
by WirelessGigabit 3y ago
Do you know if sudo uses negative tests for their CVE fixes?
If they are written in such a way that they are portable (i.e. execute sudo, send mangled data, inspect response) it shouldn't be too hard to run it against the new version.
At least that is what I try to practice in fixing all kinds of bugs. Write test that proves the bug, fix the bug, write test that proves bugfix works, invert the test that proves the bug.
- Zamiel_Snawley 3y agoI'm not sure, I only see static analysis and fuzzing workflows in the CI on GitHub [1]. [1] https://github.com/millert/sudo/actions https://github.com/millert/sudo/actions