Skip to content

Conversation

eqvinox
Copy link
Contributor

@eqvinox eqvinox commented Feb 14, 2025

This adds 2 commands, one that should just straight up SEGV, another that should trip an ASAN warning for an use-after-free.


This is for 2nd order testing, i.e. testing how the tests handle crashes and ASAN reports. Not used yet (it's easier to first add this into master and then muck around with CI components.)

Code 'hidden' from static analysis for obvious reasons.

This adds 2 commands, one that should just straight up SEGV, another
that should trip an ASAN warning for an use-after-free.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
@donaldsharp
Copy link
Member

Tested both commands and they work as advertised.

@Jafaral
Copy link
Member

Jafaral commented Feb 14, 2025

Tested both commands and they work as advertised.

Did you get hacked by code injected by David then?

@donaldsharp
Copy link
Member

Negative I am a space popsicle

@donaldsharp donaldsharp merged commit ca46b52 into FRRouting:master Feb 15, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants