An interesting edit came through the queue today; a user had posted a question with no code, then there was an edit containing the code.
Normally, this is no big deal. People (unfortunately) commonly forget to include relevant code in their posts. However, this one was by a completely different user (hence the inclusion in the review queue). I voted to reject, as did one other reviewer, but we were beaten by some (presumable) robo-reviewers and the edit was accepted.
I flagged the post due to the strange nature of the edit (specifically its source), but I don't know what (if anything) to do in addition. I could roll the edit back, but for all I know it's actually the right code! I wouldn't want to make an edit that is detrimental to a post.
Is there a standard operating procedure for this situation?
For context, here is the question where this occurred: https://stackoverflow.com/questions/24335397/stackoverflowexception-when-calling-getcustomattributes