A wascally wabbit hunt
Apr. 2nd, 2012 07:58 pmA particularly fine example of a recursive wabbit via someone who should definitely have known better. Rather unamusingly it seemed to be proof against most of the standard tricks — with hindsight, I suspect I could have sleep-poisoned it — and only died after we fiddled with the directory permissions in order to trigger the function's base case.
Given how easy these things are to write, especially if you know enough about recursion to be dangerous and not enough to be sensible, I'm surprised we don't see them more often.
Given how easy these things are to write, especially if you know enough about recursion to be dangerous and not enough to be sensible, I'm surprised we don't see them more often.