Challenge: Find the stack smash bug... - answer

added by DotNetKicks
7/1/2022 4:25:23 PM

198 Views

Yesterday I presented a bug that killed the process in a particularly rude manner. This is a recursive function that is guarded against stackoverflows using RuntimeHelpers.EnsureSufficientExecutionStack(). Because of the manner that this kills the process, it took some time to figure out what is going on. There was no StackOverflowException, just an exit code.


0 comments