Evaluating LLMs for One-Shot Patching of Real and Artificial Vulnerabilities